@Test
public void testApply_convertsArrayOfEnums() {

  Cookbook cookbook =
      new Cookbook(
          "test",
          new ArrayList<>(),
          Lists.newArrayList(new Enum("MyEnum", Lists.newArrayList("A", "B", "C"))));
  Filter filter = new JavaValueFilter(cookbook);
  assertEquals(
      "new MyEnum[]{MyEnum.A, MyEnum.B, MyEnum.C}",
      filter.apply(Lists.newArrayList("A", "B", "C"), "MyEnum[]"));
}