public function testStandard()
 {
     $tmpDir = getTmpDir();
     $pathname = $tmpDir->makeSubDir($tmpDir->prepareSubDirPath(__CLASS__));
     $inFile = sprintf('%s/_files/LameHelperTest/30-seconds.wav', __DIR__);
     $outFile = sprintf('%s/30-seconds.mp3', $pathname);
     $lameHelper = new LameHelper();
     $lameRunner = new LameRunner(TESTS_KOMPAKT_AUDIOTOOLS_LAME);
     $lameHelper->setPreset(112);
     $lameRunner->execute($lameHelper->getCmd($inFile, $outFile));
     $this->assertFileExists($outFile);
 }
 /**
  * @expectedException Kompakt\AudioTools\Runner\Exception\RuntimeException
  */
 public function testCmdNotFound()
 {
     $lameRunner = new LameRunner('xxx');
     $lameRunner->execute('--help 2> /dev/null');
 }