@Test
public void testNot() {

  assertEquals(null, INTEGER.not().parse("", mode));
  assertFailure(mode, INTEGER.not(), "12", 1, 1);
  assertParser(mode, areChars("ab").not(), "a", null, "a");
  assertEquals(null, INTEGER.not("num").parse("", mode));
  assertFailure(mode, INTEGER.not("num"), "12", 1, 1, "unexpected num");
}