public function testCanProvideProcDir() { $tmpDir = sys_get_temp_dir(); $command = new Command('pwd'); $command->procCwd = $tmpDir; $this->assertFalse($command->getExecuted()); $this->assertTrue($command->execute()); $this->assertTrue($command->getExecuted()); $this->assertEquals($tmpDir, $command->getOutput()); }