### Question:
MimeType { public static String get(String fileExtension, final String defaultValue) { fileExtension = (fileExtension == null ? "" : fileExtension.toLowerCase()); return properties.getProperty(fileExtension, defaultValue); }  static String get(String fileExtension, final String defaultValue); static String getMimeTypeOfFile(final String fileName); static String getMimeTypeOfFile(final String fileName, final String defaultValue);  }### Answer:
@Test public void testMimeTypeMapping() { assertEquals("application/javascript", MimeType.get(".JS", "text/plain")); assertEquals("text/html", MimeType.get(".htm", "text/plain")); }