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
WebServiceMessageMatcher
match
in interface WebServiceMessageMatcher
message
- 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 metCopyright © 2018 Pivotal Software. All rights reserved.