@Test
public void testBoolParser() {

    Parser<Boolean> p = Parsers.boolParser();
    assertCompliance(p);
    assertThat(p.parse("true")).isEqualTo(true);
    assertThat(p.parse("false")).isEqualTo(false);
    assertThat(p.parse("TRUE")).isEqualTo(true);
    assertThat(p.parse("FALSE")).isEqualTo(false);
    assertThat(p.parse("1")).isEqualTo(true);
    assertThat(p.parse("0")).isEqualTo(false);
    assertThat(p.parse("hello")).isNull();
}