@Test
public void testEof() {

  Parsers.EOF.parse("", mode);
  assertFailure(mode, Parsers.EOF, "a", 1, 1, "EOF");
  Parsers.eof("END").parse("", mode);
  assertFailure(mode, Parsers.eof("END"), "a", 1, 1, "END");
  assertEquals("EOF", Parsers.EOF.toString());
}