use of nl.nn.adapterframework.processors.CorePipeProcessor in project iaf by ibissource.
the class MessageSendingPipeTest method testInputWrapped.
@Test
public void testInputWrapped() throws Exception {
pipe.setInputWrapper(new SoapWrapperPipe());
pipe.setPipeProcessor(new CorePipeProcessor());
configureAndStartPipe();
PipeRunResult prr = doPipe("testMessage");
assertEquals("success", prr.getPipeForward().getName());
String expected = "{ \"input\": \"<soapenv:Envelope xmlns:soapenv=\"http://schemas.xmlsoap.org/soap/envelope/\"><soapenv:Body>testMessage</soapenv:Body></soapenv:Envelope>\"}";
assertEquals(expected, prr.getResult().asString());
}
Aggregations