public class MessageMatcher extends Object implements org.springframework.ws.test.client.RequestMatcher, org.springframework.ws.test.server.ResponseMatcher
| Modifier and Type | Field and Description |
|---|---|
protected Source |
controlMessage |
| Constructor and Description |
|---|
MessageMatcher(Source controlMessage) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
compare(Source controlMessage,
Source messageSource)
Compares message with control message.
|
protected org.custommonkey.xmlunit.Diff |
createDiff(Source controlMessage,
Source messageSource)
Creates Enhanced Diff.
|
Source |
getControlMessage() |
void |
match(URI uri,
org.springframework.ws.WebServiceMessage request) |
void |
match(org.springframework.ws.WebServiceMessage request,
org.springframework.ws.WebServiceMessage response) |
protected void |
matchInternal(org.springframework.ws.WebServiceMessage input,
org.springframework.ws.WebServiceMessage message)
Matches document.
|
protected Source |
preprocessControlMessage(org.springframework.ws.WebServiceMessage input)
Does control message pre-processing.
|
protected final Source controlMessage
public MessageMatcher(Source controlMessage)
protected final void matchInternal(org.springframework.ws.WebServiceMessage input,
org.springframework.ws.WebServiceMessage message)
input - message - public void match(org.springframework.ws.WebServiceMessage request,
org.springframework.ws.WebServiceMessage response)
throws IOException,
AssertionError
match in interface org.springframework.ws.test.server.ResponseMatcherIOExceptionAssertionErrorpublic void match(URI uri, org.springframework.ws.WebServiceMessage request) throws IOException, AssertionError
match in interface org.springframework.ws.test.client.RequestMatcherIOExceptionAssertionErrorprotected final void compare(Source controlMessage, Source messageSource)
controlMessage - messageSource - AssertionErrorprotected Source preprocessControlMessage(org.springframework.ws.WebServiceMessage input)
input - controlMessage - protected org.custommonkey.xmlunit.Diff createDiff(Source controlMessage, Source messageSource)
controlMessage - messageDocument - public final Source getControlMessage()
Copyright © 2017. All Rights Reserved.