public function testDidntSucceed() { $command = new Command(); $command->exec("ls a/path/that/hopefully/doesnt/exist/if/it/does/craziness"); $this->assertFalse($command->success()); }
private function assertLocalFileDoesntExist($filePath) { $command = new Local\Command(); $command->exec("cat " . escapeshellarg($filePath)); $this->assertFalse($command->success()); }