@Test public void testCreateDecoratedContainer() { ApplicationContext applicationContext = createMock(ServletApplicationContext.class); TilesContainer wrapped = createMock(TilesContainer.class); replay(applicationContext, wrapped); assertSame(wrapped, ((CachingTilesContainer) factory.createDecoratedContainer(wrapped, applicationContext)) .getWrappedContainer()); verify(applicationContext, wrapped); }
@Override public TilesContainer createDecoratedContainer(TilesContainer originalContainer, ApplicationContext applicationContext) { return new CachingTilesContainer(originalContainer); }
CompleteAutoloadTilesContainerFactory extends BasicTilesContainerFactory { @Override public TilesContainer createDecoratedContainer(TilesContainer originalContainer, ApplicationContext applicationContext) { return new CachingTilesContainer(originalContainer); } }
CompleteAutoloadTilesContainerFactory extends BasicTilesContainerFactory { @Override public TilesContainer createDecoratedContainer(TilesContainer originalContainer, ApplicationContext applicationContext) { return new CachingTilesContainer(originalContainer); }  }
CompleteAutoloadTilesContainerFactory extends BasicTilesContainerFactory { @Override public TilesContainer createDecoratedContainer(TilesContainer originalContainer, ApplicationContext applicationContext) { return new CachingTilesContainer(originalContainer); }  @Override TilesContainer createDecoratedContainer(TilesContainer originalContainer,
            ApplicationContext applicationContext); }
CompleteAutoloadTilesContainerFactory extends BasicTilesContainerFactory { @Override public TilesContainer createDecoratedContainer(TilesContainer originalContainer, ApplicationContext applicationContext) { return new CachingTilesContainer(originalContainer); }  @Override TilesContainer createDecoratedContainer(TilesContainer originalContainer,
            ApplicationContext applicationContext);  }