Package org.talend.esb.servicelocator.client.internal

Examples of org.talend.esb.servicelocator.client.internal.EndpointNode


    @Test
    public void getEndpoint() throws Exception {
        ServiceNodeImpl serviceNode = new ServiceNodeImpl(backend, rootNode, SERVICE_QNAME_1);

        EndpointNode endpointNode = serviceNode.getEndPoint(ENDPOINT_1);
       
        assertThat(endpointNode.getEndpointName(), equalTo(ENDPOINT_1));
      
    }
View Full Code Here


      
    }

    @Test
    public void getEndpoints() throws Exception {
        EndpointNode endpointNode1 = new EndpointNodeImpl(backend,serviceNode, ENDPOINT_1);
        EndpointNode endpointNode2 = new EndpointNodeImpl(backend,serviceNode, ENDPOINT_2);

        ServiceNodeImpl eqServiceNode = eq(serviceNode);
        NodeMapper<EndpointNode> anyMapper = anyObject();
        expect(backend.getChildren(eqServiceNode, anyMapper)).
            andReturn(Arrays.asList(endpointNode1, endpointNode2));
View Full Code Here

TOP

Related Classes of org.talend.esb.servicelocator.client.internal.EndpointNode

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.