Package org.mojavemvc.initialization

Examples of org.mojavemvc.initialization.AppPropertyCollector


    @Test
    public void createsConfiguration() throws Exception {
       
        InitParams params = mock(InitParams.class);
        AppResources resources = mock(AppResources.class);
        AppPropertyCollector collector = mock(AppPropertyCollector.class);
       
        VelocityInitializer init = new VelocityInitializer();
        init.initialize(params, resources, collector);
       
        verify(collector).addProperty(eq(VM.CONFIG_PROPERTY), any(VelocityEngine.class));
View Full Code Here


    @Test
    public void createsConfiguration() throws Exception {
       
        InitParams params = mock(InitParams.class);
        AppResources resources = mock(AppResources.class);
        AppPropertyCollector collector = mock(AppPropertyCollector.class);
       
        FTLInitializer init = new FTLInitializer();
        init.initialize(params, resources, collector);
       
        verify(collector).addProperty(eq(FTL.CONFIG_PROPERTY), any(Configuration.class));
View Full Code Here

    @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);
View Full Code Here

TOP

Related Classes of org.mojavemvc.initialization.AppPropertyCollector

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.