Package org.apache.felix.ipojo.test.scenarios.manipulation.service

Examples of org.apache.felix.ipojo.test.scenarios.manipulation.service.Plop


    public void testDuplicateMethod() {
        IPOJOHelper helper = new IPOJOHelper(this);
        helper.createComponentInstance("plopimpl", "plop");
        ServiceReference ref = helper.getServiceReferenceByName(Plop.class.getName(), "plop");
        assertNotNull("Check plop", ref);
        Plop plop = (Plop) getServiceObject(ref);
        Object o = plop.getPlop();
        assertEquals("Check result", "plop", o);
        helper.dispose();
    }
View Full Code Here

TOP

Related Classes of org.apache.felix.ipojo.test.scenarios.manipulation.service.Plop

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.