public static function setUpBeforeClass() { self::$id3meta = new \Sapar\Id3\Metadata\Id3Metadata(Helper::getSampleMp3File()); self::$eyed3 = new \Sapar\Id3\Wrapper\BinWrapper\Eyed3Wrapper(); self::$eyed3->setBinPath(Helper::getEyed3Path()); self::$mediainfo = new \Sapar\Id3\Wrapper\BinWrapper\MediainfoWrapper(); self::$mediainfo->setBinPath(Helper::getMediainfoPath()); }
public function testGetVersion() { $this->eyed3Wrapper->setBinPath(Helper::getEyed3Path()); $this->assertContains('eyeD3', $this->eyed3Wrapper->getVersion()); }