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:----qPkEhuJ9WKfh0sPXm/enK68eezSan51UkbRNiia42mzE7SiL7AOpzu++3pwG8FnicPDoXldsU7rN1ambEtXBUU3rfE43niwDmg1PXwxtZMlba/Sru5NOIxhKuVJcabQKV0v80rVLx0hRFRZLlxVOrmj5GO/sZu7a2Tr+fTTnbLksOhJbrZq+losM9IFrFFPTop/hjBJLDMBzcUOyAE8JZrEQXm/iIU/Jt8gafIzPt99VtWXNkOqsbxUO4YEvX5TF5g1WwubVXp2EUUsFxZq4+R9ZRqNf2Pt3erkjqL+uPrU58pfv9Egc6XUVLksnmH1A6BA/9tycDW1xrNIgjf8DIiC38whTIjtEaZSEJf5lC0W81CtvrCrF2OJJf3NDHV/wr2Z4tltKcuSxDsQ3LAzgyAaAwGd6IJyYg1TSa7k715GerPr+gMKuFcBRBWoxoJ8rYXM+h2AYkVtllLXkcBXRVz+cdBjyL7Q5yk2BpXdYF8tuwQPfWyoV6gT2FlTtCBDh03FsyZWKciSrSXh217q5pTniGTqVT04QY0yohoYO3Wc1TsfrIiQC5DR2mTQrqNfBI12Q6nTG8S/ldmjQGuGP4jJ7RHB0ESuKG9Pf6AwbfBDG5vL+P11HWURga/BJWU5GIanjY7Jb6TeqzrEvA60hGWko05je8ApCNcL9PUBO488=----ATTACHMENT:----NDI5ODkzNTYyMjk2ODE5NCAyMzMzNTU1MjczOTg3MzEgNTYzNjYyNjc2MjMxMDA2Mw==