public abstract class AbstractSoapMessageMatcher extends Object implements WebServiceMessageMatcher
WebServiceMessageMatcher implementations.
Asserts that the message given to match(WebServiceMessage) is a SoapMessage, and invokes match(SoapMessage) with it if so.
| Constructor and Description |
|---|
AbstractSoapMessageMatcher() |
| Modifier and Type | Method and Description |
|---|---|
protected abstract void |
match(SoapMessage soapMessage)
Abstract template method that gets invoked from
match(WebServiceMessage) if the given message is a
SoapMessage. |
void |
match(WebServiceMessage message)
Matches the given message against the expectations.
|
public final void match(WebServiceMessage message) throws IOException, AssertionError
WebServiceMessageMatchermatch in interface WebServiceMessageMatchermessage - the messageIOException - in case of I/O errorsAssertionError - if expectations are not metprotected abstract void match(SoapMessage soapMessage) throws IOException, AssertionError
match(WebServiceMessage) if the given message is a
SoapMessage.soapMessage - the soap messageIOException - in case of I/O errorsAssertionError - if expectations are not met