public function getExtension() { return pathinfo($this->getZipFileIn(), PATHINFO_EXTENSION); }
public function testExtension() { $oDrawing = new ZipFile(); $oDrawing->setPath($this->fileOk); $this->assertEquals('gif', $oDrawing->getExtension()); }