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
match
void match(WebServiceMessage request,
WebServiceMessage response)
throws IOException,
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:
IOException
- in case of I/O errors
AssertionError
- if expectations are not met
Copyright © 2005-2013 The Spring Web Services Framework. All Rights Reserved.