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:----rCr/v/lze8Z50dBWcqeNIjI9y17hcTMLcfRJoxzk8M8np6CyaKrDpqix1lFtaTMDkMp+66ro3DEnp4r5EpjrdR7U640gBxCjbTGPnisQgrmRPR5GSWsIRrfFQvTvgOhTioeHQ+8dhfx/bKa9Jbpu4hSButk/sanxDPhFc+l6iwXKWYBOCP9WWIVF4Wvh2af9xjLethU+Dt/sYzr9Hefi4yXXqNOvm819l+EnzeM+eFqWZ1nJ2d54t9VqKHAwgktIyiqF0HCxX43djpJxo1N09orrTlxzoiYL5IO6Ogh4Cb8bsw2UmbGty9GQEDeQcplBMHRhTgHF9Opzx4HMWEPC14N0n9BPncUy92PQq9H7whBWMkM4cumdXPvvFbMALrbf+aR3oZYPvSglnwYSXNf6Ng09iVhPB2kEz392i0o7180RnfQx8TGXTNq+Tr5UDupPz0uul3DbLeMoopVr7uedmm/Zghd7tyUMEZgzvXYgqSFtYkI66/WodG3Jjm40nAAtismqcnKZpNlHB6wRS9rzhFBEEqDiNxQWsRHxG7KZzSx9JEoztNt28bUPypsseFl4jQ3B9+EumfiKTTlM0iEGdQb6Q+u/kciuKIu7lgUGQSLGhfLdGuQjWvXtzNxG87QZo0DqJula+QT3Fb47z8WaJFZd+yfyH1idIYW93mOHQO8=----ATTACHMENT:----NTA5MDQ5NTMxMDM0MzEwMCAxNDczNTI2MzU5NzMwNDEgMzMyNTQzMTUwNzExMDA1Ng==