@Test
public void testTimes() {

  assertListParser(isChar('a').times(3), "aaa", 'a', 'a', 'a');
  assertFailure(mode, isChar('a').times(3), "aa", 1, 3);
  assertListParser(areChars("ab").times(3), "ababab", 'b', 'b', 'b');
  assertListParser(FOO.times(2), "", "foo", "foo");
  assertFailure(mode, areChars("ab").times(3), "aba", 1, 4);
  assertEquals("times", INTEGER.times(1).toString());
}