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

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


        factory.bindInjector(new BindingsInjector(), new ServicePropertiesMap(1, 1));
    }

    @Test
    public void testNamedInjectionField() {
        BindingsModel model = factory.getAdapter(request, BindingsModel.class);
        assertNotNull(model.getSling());
        assertEquals(sling, model.getSling());
    }
View Full Code Here

TOP

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

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.