public abstract class DiffMatcher extends Object implements WebServiceMessageMatcher
WebServiceMessageMatcher
based on XMLUnit's Diff
.Constructor and Description |
---|
DiffMatcher() |
Modifier and Type | Method and Description |
---|---|
protected abstract org.custommonkey.xmlunit.Diff |
createDiff(WebServiceMessage message)
Creates a
Diff for the given message. |
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 org.custommonkey.xmlunit.Diff createDiff(WebServiceMessage message)
Diff
for the given message.message
- the messageException
- in case of errors