Package org.apache.sling.models.testmodels.classes

Examples of org.apache.sling.models.testmodels.classes.WithThreeConstructorsModel


        assertEquals(INT_VALUE, model.getAttribute());
    }

    @Test
    public void testThreeConstructorsInjection() {
        WithThreeConstructorsModel model = factory.getAdapter(request, WithThreeConstructorsModel.class);
        assertNotNull(model);
        assertEquals(request, model.getRequest());
        assertEquals(INT_VALUE, model.getAttribute());
    }
View Full Code Here

TOP

Related Classes of org.apache.sling.models.testmodels.classes.WithThreeConstructorsModel

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.