@Test
public void testOptional() {

    Parser<Integer> p = Parsers.intParser();
    assertThat(p.parseValue("hello").isPresent()).isFalse();
    assertThat(p.parseValue("123").isPresent()).isTrue();
    assertThat(p.parseValue("123").get()).isEqualTo(123);
}