public interface RequestMatcher
See MockRestRequestMatchers
for static factory methods.
Modifier and Type | Method and Description |
---|---|
void |
match(org.springframework.http.client.ClientHttpRequest request)
Match the given request against specific expectations.
|
void match(org.springframework.http.client.ClientHttpRequest request) throws IOException, AssertionError
request
- the request to make assertions onIOException
- in case of I/O errorsAssertionError
- if expectations are not met