public class TemplateAwareMessageMatcher extends MessageMatcher implements ParametrizableResponseMatcher, ParametrizableRequestMatcher
MessageMatcher that processes template before comparison.controlMessage| Constructor and Description |
|---|
TemplateAwareMessageMatcher(Source controlMessage,
Map<String,Object> parameters,
TemplateProcessor templateProcessor) |
| Modifier and Type | Method and Description |
|---|---|
protected Source |
preprocessControlMessage(org.springframework.ws.WebServiceMessage input)
Does control message pre-processing.
|
TemplateAwareMessageMatcher |
withParameter(String name,
Object value)
Adds parameter to the
ResponseMatcher |
TemplateAwareMessageMatcher |
withParameters(Map<String,Object> additionalParameters)
Adds parameters to the
ResponseMatcher |
compare, createDiff, getControlMessage, match, match, matchInternalpublic TemplateAwareMessageMatcher(Source controlMessage, Map<String,Object> parameters, TemplateProcessor templateProcessor)
protected Source preprocessControlMessage(org.springframework.ws.WebServiceMessage input)
MessageMatcherpreprocessControlMessage in class MessageMatcherpublic TemplateAwareMessageMatcher withParameter(String name, Object value)
ParametrizableResponseMatcherResponseMatcherwithParameter in interface ParametrizableRequestMatcherwithParameter in interface ParametrizableResponseMatcherpublic TemplateAwareMessageMatcher withParameters(Map<String,Object> additionalParameters)
ParametrizableResponseMatcherResponseMatcherwithParameters in interface ParametrizableRequestMatcherwithParameters in interface ParametrizableResponseMatcherCopyright © 2017. All Rights Reserved.