JavaRazorCodeLanguage extends RazorCodeLanguage<JavaCodeProvider> { @Override public ParserBase createCodeParser() { return new JavaCodeParser(); }  @Override String getLanguageName(); @Override Class<JavaCodeProvider> getCodeDomProviderType(); @Override ParserBase createCodeParser(); @Override RazorCodeGenerator createCodeGenerator(final String className, final String rootNamespaceName,
                                                  final String sourceFileName, final RazorEngineHost host
                                                 ); static final String RazorFileExtension; static final String LanguageFileExtension; static final String LanguageName; }
@Test public void createCodeParserReturnsNewJavaCodeParser() { final ParserBase parser = codeService.createCodeParser(); assertNotNull(parser); assertThat(parser, instanceOf(JavaCodeParser.class)); }