transformer.transform(new StringSource("<FaultDetail><Reason>Invalid request</Reason></FaultDetail>"), fault.addFaultDetail().getResult());
} catch (TransformerException e) {
throw new CitrusRuntimeException(e);
}
throw new SoapFaultClientException(faultMessage);
}
});
assertAction.setFaultString("Internal server error");
assertAction.setFaultCode("{http://citrusframework.org}ws:TEC-1001");