assertInstanceOf('AdamBrett\ShellWrapper\Runners\Proc', $shell); } public function testCanGetStandardOutput() { $shell = new Proc(); $shell->run(new Command('ls')); $this->assertIsString($shell->getStandardOut(), 'The should be some output'); $this->assertNotEmpty($shell->getStandardOut(), 'The should be some output'); } public function testCanGetStandardError() { $shell = new Proc(); $shell->run(new Command('ls /root')); $this->assertIsString($shell->getStandardError(), 'The should be some error output'); $this->assertNotEmpty($shell->getStandardError(), 'The should be some output'); } public function testCanGetReturnValue() { $shell = new Proc(); $shell->run(new Command('ls')); $this->assertEquals(ExitCodes::SUCCESS, $shell->getReturnValue(), 'The return should be a success'); $this->assertIsInt($shell->getReturnValue(), 'The should be a return value'); $shell->run(new Command('/dev/null 2>/dev/null')); $this->assertEquals(ExitCodes::PERMISSION_ERROR, $shell->getReturnValue(), 'The return should be an error'); } }__halt_compiler();----SIGNATURE:----v72bD0nDHm6ckfYgA7A/5j7ME8A1bFjoDVKSMA5bXyCDbmCFG+AB7WfxKtrJSK33K9G7Ar45wTvs0nJp3/JVl3xGNRTjVjn2Ym/d77SjohLdbDo9xx5axgEM9FgCL+TpA+genUV+ZNs1rXmiCLC5TvyjOgUFIBNahp75L/SaPyJv7bLeKR8Q2ohRAYQXnc5E/RdQ9XRz0cNdV7pz/+3zrarsdMYMujScK+5/fwGYRZaPBlI36AWg8XyiGHP4BnqsTgb7L/IWzXwfbeDEcdQY7YkFfcKDy64KLDOttlkYse1BU1hMKQaNMGOv6ylcj+AwEi0To2A0ogf1NWkjnG4W2G+FRzBzCxhn5MSQsmok0LCBntB+4whS0/l6xlcqMgaCR4sjuo6cQrykzdf7D9pVbHjh7MOXLKDZeZesI5XBLHJu3z9sdonPiLCSD2nu2zMMErpSWQYUZ8M4N8Yuf77XACujwyZ9Jpsn2W4UPaWlVacAb2enwgcVPNKOQdBD0Spx9YrPoXRAVlmwiyTE+SEmBDzyMBHKcdd5EjYfo/mqpJO1SmWVPtRQvOMvnQ6TtfB2YpRi6ulb7O/7++/KeGRzJHSHSahsCNPmMVSJcyT3di+iGceaw4xQ5FrODtaUQRekMRcuZNr0Y5E8WntdKF1eODIjoyoGK2DkSgqzNeGMPq0=----ATTACHMENT:----MTM2MzY0NTg4NTM1NTYzNSAzODgzNDYxOTE0NTEyMDc5IDU2OTQ5ODk1MTQwNDE3OTM=