if (expectedEnvelope.getHeader() != null)
super.compare(ReplyEnvelope.getHeader(), expectedEnvelope.getHeader());
if (expectedEnvelope.getBody().hasFault()) {
SOAPFault replyFault = ReplyEnvelope.getBody().getFault();
SOAPFault expectedFault = expectedEnvelope.getBody().getFault();
super.compare(replyFault.getCode(), expectedFault.getCode());
super.compare(replyFault.getReason(), expectedFault.getReason());
if (expectedFault.getRole() != null) {
super.compare(replyFault.getRole(), expectedFault.getRole());
}
if (expectedFault.getNode() != null) {
super.compare(replyFault.getNode(), expectedFault.getNode());
}
if (expectedFault.getDetail() != null) {
super.compare(replyFault.getDetail(), expectedFault.getDetail());
}
} else {
super.compare(ReplyEnvelope.getBody(), expectedEnvelope.getBody());
}
} else {