LightLexer extends AbstractLexer { @Override public TokenizedSource convert() { LightLexerWorker worker = new LightLexerWorker(this); return worker.convert(); } LightLexer(String source); @Override TokenizedSource convert();  }
@Test public void testDefaultLexer() { Lexer indentationLexer = new LightLexer(PandaURLSource.fromPath(DEFAULT).getContent()); TokenizedSource source = indentationLexer.convert(); Assertions.assertNotNull(source); Assertions.assertTrue(source.size() > 0); }
@Test public void testIndentationLexer() { Lexer indentationLexer = new LightLexer(PandaURLSource.fromPath(INDENTATION).getContent()); TokenizedSource source = indentationLexer.convert(); Assertions.assertNotNull(source); Assertions.assertTrue(source.size() > 0); }