// Verify that it did what it was supposed to
verify(mockObserver);
// Verify the parsed object was correct.
CustomSOAP12Fault fault = request.getSOAPFault();
assertEquals(fault.getCode(), SampleResponse.SOAP12_FAULT_CODE);
assertEquals(fault.getNode(), SampleResponse.SOAP12_FAULT_NODE);
assertEquals(fault.getRole(), SampleResponse.SOAP12_FAULT_ROLE);
assertEquals(fault.getSubCode(), SampleResponse.SOAP12_FAULT_SUBCODE);
assertEquals(fault.getReasons().get(0).getReason(), SampleResponse.SOAP12_FAULT_REASON);
assertEquals(fault.getReasons().get(0).getLang(), SampleResponse.SOAP12_FAULT_REASON_LANG);
assertEquals(fault.getLineNumber(), SampleResponse.SQL_MESSAGE_LINE_NUMBER);
assertEquals(fault.getMessage(), SampleResponse.SQL_MESSAGE_MESSAGE);
assertEquals(fault.getNumber(), SampleResponse.SQL_MESSAGE_NUMBER);
assertEquals(fault.getSource(), SampleResponse.SQL_MESSAGE_SOURCE);
assertEquals(fault.getState(), SampleResponse.SQL_MESSAGE_STATE);
}