@Test
public void testMarshal() throws Exception {

	Marshaller marshallerMock = createMock(Marshaller.class);
	WebServiceMessage messageMock = createMock(WebServiceMessage.class);
	Result result = new StringResult();
	Object marshalled = new Object();
	expect(messageMock.getPayloadResult()).andReturn(result);
	marshallerMock.marshal(marshalled, result);
	replay(marshallerMock, messageMock);
	MarshallingUtils.marshal(marshallerMock, marshalled, messageMock);
	verify(marshallerMock, messageMock);
}