Interface RequestMatcher


public interface RequestMatcher
Defines the contract for matching requests to expectations.
Since:
2.0
Author:
Arjen Poutsma, Lukas Krecan
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    match(URI uri, WebServiceMessage request)
    Matches the given request message against the expectations.
  • Method Details

    • match

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