@Test
public void testResolveExceptionInternal() throws Exception {

	Exception exception = new Exception("message");
	expect(factoryMock.createWebServiceMessage()).andReturn(messageMock);
	expect(messageMock.getSoapBody()).andReturn(bodyMock);
	expect(bodyMock.addServerOrReceiverFault(exception.getMessage(), Locale.ENGLISH)).andReturn(null);
	replay(factoryMock, messageMock, bodyMock);
	boolean result = exceptionResolver.resolveExceptionInternal(messageContext, null, exception);
	Assert.assertTrue("Invalid result", result);
	verify(factoryMock, messageMock, bodyMock);
}