@Test
public void testCreateContainer() {

    ApplicationContext context = createMock(ApplicationContext.class);
    TilesContainer container = createMock(TilesContainer.class);
    expect(containerFactory.createContainer(context)).andReturn(container);
    replay(containerFactory, context, container);
    assertEquals(container, initializer.createContainer(context));
    verify(containerFactory, context, container);
}