public function testPathToMimeType() { $ext = 'png'; $this->assertSame($this->obj->_mimeTypes[$ext], $this->obj->pathToMimeType(TEST_IMAGE_PATH)); }