Package com.alexgilleran.icesoap.request.test.xmlclasses

Examples of com.alexgilleran.icesoap.request.test.xmlclasses.CustomSOAP12Fault


    // 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);
  }
View Full Code Here

TOP

Related Classes of com.alexgilleran.icesoap.request.test.xmlclasses.CustomSOAP12Fault

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.