public function testGetMimeTypeByExtension() { $type = MimeType::getMimeTypeByExtension('txt'); $this->assertEquals($type, 'text/plain', "Check mimetype of .txt file."); }
public function testGetMimeTypeByExtension() { $type = MimeType::getMimeTypeByExtension('txt'); $this->assertEquals($type, 'text/plain', "Check mimetype of .txt file."); }