@Test
public void testFollowedBy() {

  assertEquals((Object) 123, INTEGER.followedBy(COMMA).parse("123,", mode));
  assertFailure(mode, FAILURE.followedBy(FOO), "", 1, 1, "failure");
  assertFailure(mode, INTEGER.followedBy(COMMA), "123", 1, 4, ", expected, EOF encountered.");
}