assertInstanceOf('AdamBrett\ShellWrapper\Runners\Exec', $shell); } public function testCanGetOutput() { $shell = new Exec(); $shell->run(new Command('ls')); $this->assertNotEmpty($shell->getOutput(), 'The should be some output'); } public function testCanGetReturnValue() { $shell = new Exec(); $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:----Lbw0b0wSwg7/jdKDJjJ65ElXHOicV1pCTN50eynYAIJsZbw+9K/fv+ny8jop1s7ZekRpWTDGYLcQ3rnfo5LpbEkzrOSV95WPi59r7JsFmQck293Uk984wMeOPGcAVev7iOpsiRPDNJwjentH57sygDXCw/0JnomoC0yH9lRz/vsFIESK6dbmFrLQ7+k2dQGa5Nb2GX6IZkB3XaIKQhVCjsrpDZ2ZDjvjbr0Mohw2Mg4jokYFJOLHRyb1k3WgQiImR3UncvPYET4HjvgwSXbTvOJdTeFm0QMdzwV+Vo7D2O2n4weLQgwGxMp3EWFESZkyX8ZXpMNGfH3678ztTetUpLsH614amnxo+0fp4zPm/v9tawFm+P4oqPPuv5lFz0BO8XzIKyPx86cPrLunYondXldJGEPa4FFqI5/Y+KLIHnP2D+MdBxyqw1566xvzX0vurPVsGEgrZbhV2fMrpwjJlhFLNo718gKUO+g1QSnJZrK6qZAsWb3jqAm9M1S4/FNO6j12Zajnok7AaT4WFgiQHELHhFshLmYmisKYYyqcwtdUOugxRZOUQdl7gx74YeiIL0azuzexuEVHSEIRt5cyIGKWgs8oCsAoI0ntSihS8BoPKqApUW/aIBVu9tMBrA8q5tIsD9vhcdmCn8GlYRn41mmX1R8c1tbnR5/4p7Zz2h4=----ATTACHMENT:----ODAwNDk1NzM2OTE5ODYyNiA3MDYxODIyODAwMzQ4NTkzIDI5OTQ1NTY3MTQyMjQ5Mg==