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