@Test
public void testUnmarshal() throws Exception {

	Unmarshaller unmarshallerMock = createMock(Unmarshaller.class);
	WebServiceMessage messageMock = createMock(WebServiceMessage.class);
	Source source = new StringSource("");
	Object unmarshalled = new Object();
	expect(messageMock.getPayloadSource()).andReturn(source);
	expect(unmarshallerMock.unmarshal(source)).andReturn(unmarshalled);
	replay(unmarshallerMock, messageMock);
	Object result = MarshallingUtils.unmarshal(unmarshallerMock, messageMock);
	Assert.assertEquals("Invalid unmarshalled object", unmarshalled, result);
	verify(unmarshallerMock, messageMock);
}