@Test
public void testCharsetParser() {

    Parser<Charset> p = Parsers.charsetParser();
    assertCompliance(p);
    assertThat(p.parse("UTF-8")).isEqualTo(StandardCharsets.UTF_8);
    assertThat(p.parse("hello")).isNull();
}