@Test
public void testApply_outputsEllipsesWhenParamTypeIsVararg() {

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