public function testSetCommand() { $this->assertEquals('php Fixtures/foo.php', $this->process->getCommand()->getCmd()); $command = new Command('php Fixtures/bar.php'); $this->process->setCommand($command); $this->assertEquals('php Fixtures/bar.php', $this->process->getCommand()->getCmd()); }