@Test
public void testWord() {

  Parser<?> tokenizer = Terminals.CharLiteral.SINGLE_QUOTE_TOKENIZER;
  Lexicon lexicon = new Lexicon(__ -> "foo", tokenizer);
  assertSame(tokenizer, lexicon.tokenizer);
  assertEquals("foo", lexicon.word("whatever"));
}