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:----f8yBu4PWxOmOdgVzSqmiYtF7q+wjM1LZFgbp9N8E5puTmZvPGDFe6snVbBc7ZyHqKfwCTCobqNXnAxfDwe///EkPXiPOr9YDGbYH1Wk9REl2cyHTOADIRpG7u2iOHwf9VC2N6diZesO9GJ8z1LpFyINpGvwzCzeTintzmdxm2yi75XkeN2YuiZk48RPy1/8VHjRo+1zTVdnxdv5ITa5PafdA+Oh2wzvU8Jbx8Y3yE33OJiL/Kx+MSgI3px138ZU73Qd6o5B/88Vwc13rG63mUdyCgVophFL9kUtF4oS/XrNPOBDuQwgTPOU8hCbzCyRtNIjo+Xl05eF93qx5xKIiTeG4dMYNu/OS3nVA2iLXaZ1beBDq94yL6sk0YVK+DUSS+31BxqHinQO1vElspYhg4c2YV8V2FHas/ngHMjiUmddIDyXmLs6MzIpJzqrB1mBi4+O/Cd+s2EyEq22ESXWIN9Te3yLfL5PhTer6gjHeMGoUAOhYtgKKh+fmLPgElePtkVuFKlwVSiX9Ds/7bGp9tM1yffjNEFnxStBBsKOAoAb0hOsbVOKRYsdcNHNSAndFHyjVdMd2LxscXlY1uE3sUvRpQQibcbQiKodFK+pJnI7I640bvpIGRKYCsJDxAuy4gXwrEWsgNKsoYN3xoKS68OrNx974q7zP7rADuZqUKQs=----ATTACHMENT:----OTQ5NzY5OTQ0OTA2MTEyMSA1MDMyMTYwNDQ0MTUxNzY5IDg5MjQ5OTc1ODM4MzcwNzM=