コード例 #1
0
ファイル: CommandTest.php プロジェクト: ptlis/shell-command
 public function testWithAdHoc()
 {
     $path = './tests/commands/unix/test_binary';
     $command = new Command(new MockEnvironment(), new NullProcessObserver(), $path, array('if=/dev/sha1 of=/dev/sdb2'), getcwd());
     $this->assertSame($path . ' \'if=/dev/sha1 of=/dev/sdb2\'', $command->__toString());
 }