RazorCodeLanguage { public static Map<String, RazorCodeLanguage> getLanguages() { return services; }  static Map<String, RazorCodeLanguage> getLanguages(); abstract String getLanguageName(); abstract Class<T> getCodeDomProviderType(); @Nullable static RazorCodeLanguage getLanguageByExtension(@Nonnull String fileExtension); abstract ParserBase createCodeParser(); abstract RazorCodeGenerator createCodeGenerator(final String className, final String rootNamespaceName,
                                                           final String sourceFileName, final RazorEngineHost host
                                                          );  }
@Test public void servicesPropertyContainsEntriesForJavaCodeLanguageService() { assertEquals(1, RazorCodeLanguage.getLanguages().size()); assertThat(RazorCodeLanguage.getLanguages().get("rzhtml"), instanceOf(JavaRazorCodeLanguage.class)); }