@Test(expected = IllegalArgumentException.class)
public void testApply_throwsOnMissingTypeParam() {

  Cookbook cookbook = new Cookbook("test", new ArrayList<>(), new ArrayList<>());
  Filter filter = new JavaValueFilter(cookbook);
  filter.apply("foobar");
}