*/
public void testSetFactories() {
ChainedTilesApplicationContextFactory factory = new ChainedTilesApplicationContextFactory();
List<AbstractTilesApplicationContextFactory> factories =
new ArrayList<AbstractTilesApplicationContextFactory>();
RepeaterTilesApplicationContextFactory repFactory = new RepeaterTilesApplicationContextFactory();
factories.add(repFactory);
factory.setFactories(factories);
TilesApplicationContext context = factory
.createApplicationContext(appContext);
assertNotNull("The request context is not correct",