@Test
public void handleConnectionFaultResponse() throws Exception {

	final QName faultCode = SoapVersion.SOAP_11.getClientOrSenderFaultName();
	expect(connectionMock.receive(messageFactory)).andReturn(request);
	connectionMock.setFaultCode(faultCode);
	connectionMock.send(isA(WebServiceMessage.class));
	connectionMock.close();
	replay(connectionMock);
	WebServiceMessageReceiver receiver = new WebServiceMessageReceiver() {
		@Override
		public void receive(MessageContext messageContext) throws Exception {
			Assert.assertNotNull("No message context", messageContext);
			MockWebServiceMessage response = (MockWebServiceMessage) messageContext.getResponse();
			response.setFaultCode(faultCode);
		}
	};
	receiverSupport.handleConnection(connectionMock, receiver);
	verify(connectionMock);
}