### Question:
WebConfiguration { public Map<String, String> getOtherParameters() { Map<String, String> parameters = getParameters(); if (!parameters.isEmpty()) { parameters.remove(CONFIGURATION_LOCATION_PARAMETER); parameters.remove(EXTRA_MODULES_PARAMETER); } return parameters; } WebConfiguration(final ServletConfig servletConfiguration);  WebConfiguration(FilterConfig filterConfiguration); String getConfigurationLocation(); String getDataDomainName(); Collection<Module> createModules(Module... standardModules); Map<String, String> getParameters(); Map<String, String> getOtherParameters();  }### Answer:
@Test public void testFilterOtherParameters() { MockFilterConfig config1 = new MockFilterConfig(); config1.setFilterName("cayenne-x"); config1.setInitParameter( WebConfiguration.CONFIGURATION_LOCATION_PARAMETER, "cayenne-y.xml"); config1.setInitParameter(WebConfiguration.EXTRA_MODULES_PARAMETER, "M1,M2"); config1.setInitParameter("test", "xxx"); WebConfiguration configuration1 = new WebConfiguration(config1); Map<String, String> parameters = configuration1.getOtherParameters(); assertNotSame(parameters, configuration1.getOtherParameters()); assertEquals(parameters, configuration1.getOtherParameters()); assertEquals(1, parameters.size()); assertEquals("xxx", parameters.get("test")); }