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

Examples of org.apache.sling.models.testmodels.classes.implextend.InvalidSampleServiceInterface


     * Test implementation class with a mapping that is not valid (an interface that is not implemented).
     */
    @Test
    public void testInvalidImplementsInterfaceModel() {
        Resource res = getMockResourceWithProps();
        InvalidSampleServiceInterface model = factory.getAdapter(res, InvalidSampleServiceInterface.class);
        assertNull(model);
        assertFalse(factory.isModelClass(res, InvalidSampleServiceInterface.class));
    }
View Full Code Here

TOP

Related Classes of org.apache.sling.models.testmodels.classes.implextend.InvalidSampleServiceInterface

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.