XmlSoapFaultValidator extends AbstractFaultDetailValidator { @Override protected void validateFaultDetailString(String receivedDetailString, String controlDetailString, TestContext context, SoapFaultDetailValidationContext validationContext) throws ValidationException { getMessageValidator(context).validateMessage(new DefaultMessage(receivedDetailString), new DefaultMessage(controlDetailString), context, Collections.singletonList(validationContext)); }   static final String DEFAULT_XML_MESSAGE_VALIDATOR; }
@Test public void testXmlDetailValidation() { soapFaultValidator.validateFaultDetailString(detail, detail, context, new SoapFaultDetailValidationContext()); }