Package org.apache.sling.models.it.models.implextend

Examples of org.apache.sling.models.it.models.implextend.SimplePropertyModel


    /**
     * Test to adapt to a superclass of the implementation class with the appropriate mapping in the @Model annotation.
     */
    @Test
    public void testExtendsClassModel() {
        SimplePropertyModel model = adapterManager.getAdapter(resource, SimplePropertyModel.class);
        assertNotNull(model);
        assertEquals("!" + firstValue + "|" + secondValue + "|" + thirdValue + "!", model.getAllProperties());
    }
View Full Code Here

TOP

Related Classes of org.apache.sling.models.it.models.implextend.SimplePropertyModel

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.