@Test
public void testOnCharset() {

    Charset d = StandardCharsets.US_ASCII;
    Charset n = StandardCharsets.UTF_8;
    assertBehavior(Params.onCharset(d, "k"), d, n, ImmutableMap.of("k", n.name()));
}