@Test
public void testIntegerLiteralTokenizer() {

  assertEquals(Tokens.fragment("1", Tag.INTEGER), Terminals.IntegerLiteral.TOKENIZER.parse("1"));
  assertEquals(Tokens.fragment("12", Tag.INTEGER), Terminals.IntegerLiteral.TOKENIZER.parse("12"));
  assertEquals(Tokens.fragment("0", Tag.INTEGER), Terminals.IntegerLiteral.TOKENIZER.parse("0"));
  assertEquals(Tokens.fragment("01", Tag.INTEGER), Terminals.IntegerLiteral.TOKENIZER.parse("01"));
  assertFailure(mode, Terminals.IntegerLiteral.TOKENIZER, "12x", 1, 3, "EOF expected, x encountered.");
}