Package org.talend.esb.servicelocator.client.Endpoint

Examples of org.talend.esb.servicelocator.client.Endpoint.PropertiesTransformer


        assertThat(properties.getPropertyNames(), hasSize(0));
    }

    @Test
    public void writeEndpointReferenceTo() throws Exception {
        PropertiesTransformer transformer = createNiceMock(PropertiesTransformer.class);
        replay(transformer);
        SimpleEndpoint epp = new SimpleEndpoint(SERVICE_QNAME_1, ENDPOINT_1);

        DOMResult domResult = new DOMResult();
        epp.writeEndpointReferenceTo(domResult, transformer);
View Full Code Here


                    WSA_SL_NS_CONTEXT)));
    }

    @Test
    public void writeEndpointReferenceToWithPropertiesSpecified() throws Exception {
        PropertiesTransformer transformer = createMock(PropertiesTransformer.class);
        transformer.writePropertiesTo(eq(PROPERTIES), anyDOMResult());
        replay(transformer);

        SimpleEndpoint epp = new SimpleEndpoint(SERVICE_QNAME_1, ENDPOINT_1, PROPERTIES);

        DOMResult domResult = new DOMResult();
View Full Code Here

TOP

Related Classes of org.talend.esb.servicelocator.client.Endpoint.PropertiesTransformer

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.