public function testGetSetParser() { $ffprobe = new FFProbe($this->getFFProbeDriverMock(), $this->getCacheMock()); $parser = $this->getFFProbeParserMock(); $ffprobe->setParser($parser); $this->assertSame($parser, $ffprobe->getParser()); }