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 TypeMethodDescriptionvoid
match
(URI uri, WebServiceMessage request) Matches the given request message against the expectations.
-
Method Details
-
match
Matches the given request message against the expectations. Implementations typically make use of JUnit-based assertions.- Parameters:
uri
- the uri connected torequest
- the request message to make assertions on- Throws:
IOException
- in case of I/O errorsAssertionError
- if expectations are not met
-