@Test
public void createsConfiguration() throws Exception {
InitParams params = mock(InitParams.class);
AppResources resources = mock(AppResources.class);
AppPropertyCollector collector = mock(AppPropertyCollector.class);
when(resources.getRealPath(anyString())).thenReturn("/");
MustacheInitializer init = new MustacheInitializer();
init.initialize(params, resources, collector);
verify(collector).addProperty(eq(MustacheView.CONFIG_PROPERTY), any(MustacheFactory.class));