@Test
public void testApply_convertsFloat() {

  Cookbook cookbook = new Cookbook("test", new ArrayList<>(), new ArrayList<>());
  Filter filter = new JavaValueFilter(cookbook);
  assertEquals("5.0f", filter.apply(new Float(5.0), "float"));
  assertEquals("5.0f", filter.apply(5.0f, "float"));
}