@Test public void testSourceCodeLanguage() { SymbolTokenizer tokenizer = new JavaScriptSymbolTokenizer(newAttributeFactory()); assertEquals("JavaScript", tokenizer.getSourceCodeLanguage()); }
@Test public void testMimeType() { SymbolTokenizer tokenizer = new JavaScriptSymbolTokenizer(newAttributeFactory()); assertEquals("application/javascript", tokenizer.getMimeType()); }