public function testAssertFailExitStatus() { $command = new Command(); $command->exec("ls a/path/that/hopefully/doesnt/exist/if/it/does/craziness"); $this->assertNotEquals(0, $command->getExitStatus()); }