}
@Test
public void testEventReaderPayload() throws Exception {
XMLInputFactory inputFactory = XMLInputFactory.newInstance();
XMLEventReader eventReader = inputFactory.createXMLEventReader(payload.getInputStream());
Source staxSource = StaxUtils.createCustomStaxSource(eventReader);
transformer.transform(staxSource, webServiceMessage.getPayloadResult());
StringWriter stringWriter = new StringWriter();
XMLOutputFactory outputFactory = XMLOutputFactory.newInstance();
XMLEventWriter eventWriter = outputFactory.createXMLEventWriter(stringWriter);