transformer.transform(new ResourceSource(input), message.getPayloadResult());
MessageContext context = new DefaultMessageContext(message, new SaajSoapMessageFactory(messageFactory));
Assert.assertTrue("Invalid interceptor result", interceptor.handleRequest(context, null));
StringResult expected = new StringResult();
transformer.transform(new SAXSource(SaxUtils.createInputSource(output)), expected);
StringResult result = new StringResult();
transformer.transform(message.getPayloadSource(), result);
assertXMLEqual(expected.toString(), result.toString());
}