コード例 #1
0
ファイル: ProcessTest.php プロジェクト: steadweb/nyx
 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());
 }