public function testGood() { $detective = new VideoDetective(); $detective->check(__DIR__ . "/files/normal.ogv"); $this->assertEquals('ogg', $detective->getExtension()); }
public function testMP4() { $detective = new VideoDetective(); $detective->check(__DIR__ . "/files/normal.mp4"); $this->assertEquals('mp4', $detective->getExtension()); }