protected void assertSoapFault(String address, String message, Map<String, Object> properties, String expectedFaultCode) throws Exception
{
MuleClient client = muleContext.getClient();
MuleMessage response = client.send(address, message, properties);
assertEquals(NullPayload.getInstance(), response.getPayload());
SoapFaultException exception = (SoapFaultException) response.getExceptionPayload().getException();
assertEquals(expectedFaultCode, exception.getFaultCode().getLocalPart());
}