@Test
public void faultCodes() throws IOException {

	connection.setFaultCode(SoapVersion.SOAP_11.getClientOrSenderFaultName());
	assertEquals(500, httpServletResponse.getStatus());
	connection.setFaultCode(SoapVersion.SOAP_11.getServerOrReceiverFaultName());
	assertEquals(500, httpServletResponse.getStatus());
	connection.setFaultCode(SoapVersion.SOAP_12.getClientOrSenderFaultName());
	assertEquals(400, httpServletResponse.getStatus());
	connection.setFaultCode(SoapVersion.SOAP_12.getServerOrReceiverFaultName());
	assertEquals(500, httpServletResponse.getStatus());
}