/** * @group functional * @expectedException \Temp\MediaConverter\Binary\Exception\RuntimeException */ public function testProcessFail() { $mp4box = MP4Box::create(); $mp4box->process(__DIR__ . '/../files/WrongFile.mp4'); }
/** * @expectedException \Temp\MediaConverter\Binary\Exception\InvalidFileArgumentException */ public function testProcessOnNonUnexistingFile() { $mp4box = MP4Box::create(); $mp4box->process(__DIR__ . '/../files/Unknown'); }