Interface WebServiceMessageMatcher
- All Known Implementing Classes:
AbstractSoapMessageMatcher, DiffMatcher, PayloadDiffMatcher, SchemaValidatingMatcher, SoapEnvelopeDiffMatcher, SoapHeaderMatcher
public interface WebServiceMessageMatcher
Defines the general contract for matching messages to expectations.
- Since:
- 2.0
-
Method Summary
Modifier and TypeMethodDescriptionvoidmatch(WebServiceMessage message) Matches the given message against the expectations.
-
Method Details
-
match
Matches the given message against the expectations. Implementations typically make use of JUnit-based assertions.- Parameters:
message- the message- Throws:
IOException- in case of I/O errorsAssertionError- if expectations are not met
-