@Test
public void testApply_outputsParamNameFromIdentifierFilter() {

  Cookbook cookbook = new Cookbook("test", new ArrayList<>(), new ArrayList<>());
  Filter filter = new JsParamFilter(cookbook, identifierFilter);
  when(identifierFilter.apply("foo")).thenReturn("bar");
  assertEquals("bar", filter.apply(param("foo", "string")));
}