@Test
public void testToken_oneTokenNameOnly() {

  Terminals terminals = Terminals.operators("+", "-");
  Parser<Token> parser =
      terminals.token("+").from(terminals.tokenizer(), WHITESPACES);
  assertEquals(new Token(0, 1, Tokens.reserved("+")), parser.parse("+"));
  assertFailure(mode, parser, "-", 1, 1, "+ expected, - encountered.");
}