@Test
public void testWriteTo() throws Exception {

	String content = "<root xmlns='http://www.springframework.org/spring-ws'>" + "<child/></root>";
	StringSource source = new StringSource(content);
	transformer.transform(source, message.getPayloadResult());
	ByteArrayOutputStream os = new ByteArrayOutputStream();
	message.writeTo(os);
	assertXMLEqual(content, os.toString("UTF-8"));
}