Class AbstractSoapMessageMatcher
java.lang.Object
org.springframework.ws.test.support.matcher.AbstractSoapMessageMatcher
- All Implemented Interfaces:
 WebServiceMessageMatcher
- Direct Known Subclasses:
 SoapEnvelopeDiffMatcher, SoapHeaderMatcher
Abstract base class for SOAP-specific 
WebServiceMessageMatcher implementations.
Asserts that the message given to match(WebServiceMessage) is a
SoapMessage, and invokes match(SoapMessage) with it if so.
- Since:
 - 2.0
 
- 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionprotected abstract voidmatch(SoapMessage soapMessage) Abstract template method that gets invoked frommatch(WebServiceMessage)if the given message is aSoapMessage.final voidmatch(WebServiceMessage message) Matches the given message against the expectations. 
- 
Constructor Details
- 
AbstractSoapMessageMatcher
public AbstractSoapMessageMatcher() 
 - 
 - 
Method Details
- 
match
Description copied from interface:WebServiceMessageMatcherMatches the given message against the expectations. Implementations typically make use of JUnit-based assertions.- Specified by:
 matchin interfaceWebServiceMessageMatcher- Parameters:
 message- the message- Throws:
 IOException- in case of I/O errorsAssertionError- if expectations are not met
 - 
match
Abstract template method that gets invoked frommatch(WebServiceMessage)if the given message is aSoapMessage.- Parameters:
 soapMessage- the soap message- Throws:
 IOException- in case of I/O errorsAssertionError- if expectations are not met
 
 -