@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);
}