"org/apache/tiles/config/defs1.xml");
URL url2 = this.getClass().getClassLoader().getResource(
"org/apache/tiles/config/defs2.xml");
URL url3 = this.getClass().getClassLoader().getResource(
"org/apache/tiles/config/defs3.xml");
TilesApplicationContext applicationContext = EasyMock
.createMock(TilesApplicationContext.class);
Set<URL> urlSet = new HashSet<URL>();
urlSet.add(url1);
EasyMock.expect(
applicationContext
.getResources("org/apache/tiles/config/defs1.xml"))
.andReturn(urlSet);
urlSet = new HashSet<URL>();
urlSet.add(url2);
EasyMock.expect(
applicationContext
.getResources("org/apache/tiles/config/defs2.xml"))
.andReturn(urlSet);
urlSet = new HashSet<URL>();
urlSet.add(url3);
EasyMock.expect(
applicationContext
.getResources("org/apache/tiles/config/defs3.xml"))
.andReturn(urlSet);
EasyMock.replay(applicationContext);
Map<String, String> params = new HashMap<String, String>();
params.put(DefinitionsFactory.DEFINITIONS_CONFIG,