Package org.switchyard.admin

Examples of org.switchyard.admin.ComponentReference


       
        // Components
        List<ComponentService> compSvcs = new ArrayList<ComponentService>();
        List<ComponentReference> compRefs = new ArrayList<ComponentReference>();
        ComponentService compSvc = mock(ComponentService.class);
        ComponentReference compRef = mock(ComponentReference.class);
        when(compSvc.getName()).thenReturn(TEST_COMPONENT_SERVICE);
        when(compRef.getName()).thenReturn(TEST_COMPONENT_REFERENCE);
        compSvcs.add(compSvc);
        compRefs.add(compRef);
        when(app.getComponentServices()).thenReturn(compSvcs);
        when(compSvc.getReferences()).thenReturn(compRefs);
       
View Full Code Here

TOP

Related Classes of org.switchyard.admin.ComponentReference

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.