public function testGetSetDriver() { $driver = $this->getFFMpegDriverMock(); $ffmpeg = new FFMpeg($driver, $this->getFFProbeMock()); $this->assertSame($driver, $ffmpeg->getFFMpegDriver()); $anotherDriver = $this->getFFMpegDriverMock(); $ffmpeg->setFFMpegDriver($anotherDriver); $this->assertSame($anotherDriver, $ffmpeg->getFFMpegDriver()); }