@Test
public void testApply_combinesNameAndTypeFromFilters() {

  Cookbook cookbook = new Cookbook("test", new ArrayList<>(), new ArrayList<>());
  Filter filter = new TsParamFilter(cookbook, typeFilter, identifierFilter);
  when(typeFilter.apply("int[]")).thenReturn("number[]");
  when(identifierFilter.apply("foo")).thenReturn("bar");
  assertEquals("bar: number[]", filter.apply(param("foo", "int[]")));
}