@Override protected SOAPElement checkFaultCodeElement(SOAPFaultElement element) { assertEquals(SOAPConstants.URI_NS_SOAP_1_2_ENVELOPE, element.getNamespaceURI()); assertEquals("Code", element.getLocalName()); // TODO: we should do some additional tests return (SOAPElement) element.getChildElements().next(); }
@Override protected void checkFaultStringElement(SOAPFaultElement element) { assertEquals(SOAPConstants.URI_NS_SOAP_1_2_ENVELOPE, element.getNamespaceURI()); assertEquals("Reason", element.getLocalName()); }