Interface ResponseMatcher


public interface ResponseMatcher
Defines the contract for matching response messages to expectations. Implementations of this interface are returned by ResponseMatchers.
Since:
2.0
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    match(org.springframework.ws.WebServiceMessage request, org.springframework.ws.WebServiceMessage response)
    Matches the given response message against the expectations.
  • Method Details

    • match

      void match(org.springframework.ws.WebServiceMessage request, org.springframework.ws.WebServiceMessage response) throws IOException, AssertionError
      Matches the given response message against the expectations. Implementations typically make use of JUnit-based assertions.
      Parameters:
      request - the request message
      response - the response message to make assertions on
      Throws:
      IOException - in case of I/O errors
      AssertionError - if expectations are not met