Add ExecutableNotFoundException
This commit is contained in:
parent
a39d8939db
commit
8e87d243d9
7 changed files with 61 additions and 18 deletions
|
|
@ -40,4 +40,12 @@ class FFProbeDriverTest extends TestCase
|
|||
$ffprobe = FFProbeDriver::create($conf, $this->getLoggerMock());
|
||||
$this->assertEquals($conf, $ffprobe->getConfiguration());
|
||||
}
|
||||
|
||||
/**
|
||||
* @expectedException FFMpeg\Exception\ExecutableNotFoundException
|
||||
*/
|
||||
public function testCreateFailureThrowsAnException()
|
||||
{
|
||||
FFProbeDriver::create(array('ffprobe.binaries' => '/path/to/nowhere'));
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue