/**
  * @dataProvider getCommands
  *
  * @param string $command
  * @param string $expected
  */
 public function testPrepare($command, $expected)
 {
     $this->finder->expects($this->any())->method('getPath')->will($this->returnValue('/path/to/php'));
     $this->assertEquals($expected, $this->getCommandExecutor()->prepare($command));
 }