Class DiffMatcher
java.lang.Object
org.springframework.ws.test.support.matcher.DiffMatcher
- All Implemented Interfaces:
WebServiceMessageMatcher
- Direct Known Subclasses:
PayloadDiffMatcher
Deprecated.
Implementation of
WebServiceMessageMatcher
based on XMLUnit's Diff
.- Since:
- 2.0
- Author:
- Arjen Poutsma
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected abstract org.custommonkey.xmlunit.Diff
createDiff
(WebServiceMessage message) Deprecated.Creates aDiff
for the given message.final void
match
(WebServiceMessage message) Deprecated.Matches the given message against the expectations.
-
Constructor Details
-
DiffMatcher
public DiffMatcher()Deprecated.
-
-
Method Details
-
match
Deprecated.Description copied from interface:WebServiceMessageMatcher
Matches the given message against the expectations. Implementations typically make use of JUnit-based assertions.- Specified by:
match
in interfaceWebServiceMessageMatcher
- Parameters:
message
- the message- Throws:
AssertionError
- if expectations are not met
-
createDiff
Deprecated.Creates aDiff
for the given message.- Parameters:
message
- the message- Returns:
- the diff
- Throws:
Exception
- in case of errors
-
DiffMatcher
.