public function testGetNonExistingMimeType() { $type = MimeType::getFileMimeType('fake_file_extension'); $this->assertEquals($type, 'application/octet-stream', "Check mimetype of unkown file type."); }
public function testGetNonExistingMimeType() { $type = MimeType::getFileMimeType('fake_file_extension'); $this->assertEquals($type, 'application/octet-stream', "Check mimetype of unkown file type."); }