Examples of MockBeanContextServices


Examples of org.apache.harmony.beans.tests.support.beancontext.mock.MockBeanContextServices

                services, BeanContext.class);
        assertSame(BeanContext.class, event.getServiceClass());
    }

    public void testGetCurrentServiceSelectors() {
        BeanContextServices services = new MockBeanContextServices();
        BeanContextServiceAvailableEvent event = new MockBeanContextServiceAvailableEvent(
                services, BeanContext.class);

        Iterator expectedIt = services
                .getCurrentServiceSelectors(BeanContext.class);
        Iterator it = event.getCurrentServiceSelectors();
        while (expectedIt.hasNext()) {
            assertSame(expectedIt.next(), it.next());
        }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.