NanoFilterConfig implements FilterConfig { @Override public Enumeration<String> getInitParameterNames() { return Collections.enumeration(initParameters.keySet()); } NanoFilterConfig(ServletContext servletContext); @Override String getInitParameter(String name); @Override Enumeration<String> getInitParameterNames(); @Override ServletContext getServletContext(); @Override String getFilterName(); void setFilterName(String filterName); void setInitParameter(String name, String value);  }
@Test void testGetInitParameterNames() { NanoFilterConfig config = new NanoFilterConfig(null); assertNotNull(config.getInitParameterNames()); }