throw new RuntimeException("Error getting Tiles configuration URL",
e);
}
EasyMock.replay(context);
try {
TilesContainerFactory factory = TilesContainerFactory.getFactory(context, defaults);
container = (KeyedDefinitionsFactoryTilesContainer) factory.createContainer(context);
} catch (TilesException e) {
throw new RuntimeException("Error initializing factory", e);
}
}