Package com.consol.citrus.endpoint.adapter

Examples of com.consol.citrus.endpoint.adapter.StaticResponseEndpointAdapter


        Map<String, StaticResponseEndpointAdapter> adapters = beanDefinitionContext.getBeansOfType(StaticResponseEndpointAdapter.class);

        Assert.assertEquals(adapters.size(), 1);

        // 1st endpoint adapter
        StaticResponseEndpointAdapter adapter = adapters.get("endpointAdapter");
        Assert.assertEquals(StringUtils.trimAllWhitespace(adapter.getMessagePayload()), "<TestMessage><Text>Hello!</Text></TestMessage>");
        Assert.assertEquals(adapter.getMessageHeader().get("Operation"), "sayHello");
    }
View Full Code Here

TOP

Related Classes of com.consol.citrus.endpoint.adapter.StaticResponseEndpointAdapter

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.