}
@Test
public void testGetPayloadSourceText() throws Exception {
SOAPBody body = saajMessage.getSOAPPart().getEnvelope().getBody();
body.addTextNode(" ");
body.addChildElement("child");
Source source = soapMessage.getPayloadSource();
StringResult result = new StringResult();
transformer.transform(source, result);
assertXMLEqual("Invalid source", "<child/>", result.toString());