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

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


        assertEquals("Post construct was called on super class although overridden in sub class", 0, sc.getPostConstructCalledTimestampInSuper());
    }

    @Test
    public void testPostConstructMethodWhichThrowsException() {
        FailingPostConstuctModel model = factory.getAdapter(resource, FailingPostConstuctModel.class);
        assertNull(model);
    }
View Full Code Here

TOP

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

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.