assertTrue(it.next() instanceof MockModule1);
assertTrue(it.next() instanceof MockModule2);
}
public void testFilterConfigurationLocation_Name() {
MockFilterConfig config1 = new MockFilterConfig();
config1.setFilterName("cayenne-x");
WebConfiguration configuration1 = new WebConfiguration(config1);
assertEquals("cayenne-x.xml", configuration1.getConfigurationLocation());
MockFilterConfig config2 = new MockFilterConfig();
config2.setFilterName("cayenne-y.xml");
WebConfiguration configuration2 = new WebConfiguration(config2);
assertEquals("cayenne-y.xml", configuration2.getConfigurationLocation());
MockFilterConfig config3 = new MockFilterConfig();
config3.setFilterName("a/b/c/cayenne-z.xml");
WebConfiguration configuration3 = new WebConfiguration(config3);
assertEquals("a/b/c/cayenne-z.xml", configuration3.getConfigurationLocation());
}