@Test
public void testApply_convertsFlag() {

  Cookbook cookbook = new Cookbook("test", new ArrayList<>(), new ArrayList<>());
  Filter filter = new JavaValueFilter(cookbook);
  assertEquals("true", filter.apply(new Boolean(true), "flag"));
  assertEquals("false", filter.apply(false, "flag"));
}