@Test
public void testOnEnum() {

    DataSet.Kind d = DataSet.Kind.SERIES;
    DataSet.Kind n = DataSet.Kind.COLLECTION;
    assertBehavior(Params.onEnum(d, "k"), d, n, ImmutableMap.of("k", n.name()));
}