@Test
public void testCast() {

  Parser<String> parser = Parsers.<CharSequence>constant("chars").<String>cast();
  assertEquals("chars", parser.toString());
  assertEquals("chars", parser.parse("", mode));
}