@Test
public void testApply_convertsEnum() {

  Cookbook cookbook =
      new Cookbook(
          "test",
          new ArrayList<>(),
          Lists.newArrayList(new Enum("MyEnum", Lists.newArrayList("A"))));
  Filter filter = new TsTypeFilter(cookbook);
  assertEquals("MyEnum", filter.apply("MyEnum"));
}