AbstractTilesInitializer implements TilesInitializer { protected ApplicationContext createTilesApplicationContext( ApplicationContext preliminaryContext) { return preliminaryContext; }  void initialize(ApplicationContext applicationContext); void destroy(); static final String CONTAINER_KEY_INIT_PARAMETER; }
@Test public void testCreateTilesApplicationContext() { ApplicationContext context = createMock(ApplicationContext.class); replay(containerFactory, context); assertEquals(context, initializer.createTilesApplicationContext(context)); verify(containerFactory, context); }