@Test(expected = NullPointerException.class) public void getNull() { create().get(null); }
public MarkupLanguage get(File file) { requireNonNull(file); String extension = computeFileExtension(file); return extensionToMarkupLanguage.get(extension.toLowerCase()); }
FileToMarkupLanguage { public MarkupLanguage get(File file) { requireNonNull(file); String extension = computeFileExtension(file); return extensionToMarkupLanguage.get(extension.toLowerCase()); } }
FileToMarkupLanguage { public MarkupLanguage get(File file) { requireNonNull(file); String extension = computeFileExtension(file); return extensionToMarkupLanguage.get(extension.toLowerCase()); } FileToMarkupLanguage();  FileToMarkupLanguage(Set<MarkupLanguage> markupLanguages); }
FileToMarkupLanguage { public MarkupLanguage get(File file) { requireNonNull(file); String extension = computeFileExtension(file); return extensionToMarkupLanguage.get(extension.toLowerCase()); } FileToMarkupLanguage();  FileToMarkupLanguage(Set<MarkupLanguage> markupLanguages); MarkupLanguage get(File file); }
FileToMarkupLanguage { public MarkupLanguage get(File file) { requireNonNull(file); String extension = computeFileExtension(file); return extensionToMarkupLanguage.get(extension.toLowerCase()); } FileToMarkupLanguage();  FileToMarkupLanguage(Set<MarkupLanguage> markupLanguages); MarkupLanguage get(File file);  }