org.springframework.ws.test.server
Interface ResponseMatcher
public interface ResponseMatcher
Defines the contract for matching response messages to expectations. Implementations of this interface are returned
by ResponseMatchers.
- Since:
- 2.0
- Author:
- Arjen Poutsma
|
Method Summary |
void |
match(org.springframework.ws.WebServiceMessage request,
org.springframework.ws.WebServiceMessage response)
Matches the given response message against the expectations. |
match
void match(org.springframework.ws.WebServiceMessage request,
org.springframework.ws.WebServiceMessage response)
throws java.io.IOException,
java.lang.AssertionError
- Matches the given response message against the expectations. Implementations typically make use of JUnit-based
assertions.
- Parameters:
request - the request messageresponse - the response message to make assertions on
- Throws:
java.io.IOException - in case of I/O errors
java.lang.AssertionError - if expectations are not met
Copyright © 2011. All Rights Reserved.