@Test public void get() { assertNotNull(create().get(mockFile("content.Test"))); }
public MarkupLanguage get(File file) { checkNotNull(file); String extension = computeFileExtension(file); return extensionToMarkupLanguage.get(extension.toLowerCase()); }
FileToMarkupLanguage { public MarkupLanguage get(File file) { checkNotNull(file); String extension = computeFileExtension(file); return extensionToMarkupLanguage.get(extension.toLowerCase()); } }
FileToMarkupLanguage { public MarkupLanguage get(File file) { checkNotNull(file); String extension = computeFileExtension(file); return extensionToMarkupLanguage.get(extension.toLowerCase()); } FileToMarkupLanguage();  FileToMarkupLanguage(Set<MarkupLanguage> markupLanguages); }
FileToMarkupLanguage { public MarkupLanguage get(File file) { checkNotNull(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) { checkNotNull(file); String extension = computeFileExtension(file); return extensionToMarkupLanguage.get(extension.toLowerCase()); } FileToMarkupLanguage();  FileToMarkupLanguage(Set<MarkupLanguage> markupLanguages); MarkupLanguage get(File file);  }