Package | Description |
---|---|
org.springframework.test.web.client |
Contains client-side REST testing support.
|
Modifier and Type | Interface and Description |
---|---|
interface |
RequestExpectation
An extension of
ResponseActions that also implements
RequestMatcher and ResponseCreator |
Modifier and Type | Class and Description |
---|---|
class |
DefaultRequestExpectation
Default implementation of
RequestExpectation that simply delegates
to the request matchers and the response creator it contains. |
Modifier and Type | Method and Description |
---|---|
ResponseActions |
ResponseActions.andExpect(RequestMatcher requestMatcher)
Add a request expectation.
|
ResponseActions |
DefaultRequestExpectation.andExpect(RequestMatcher requestMatcher) |
ResponseActions |
MockRestServiceServer.expect(ExpectedCount count,
RequestMatcher matcher)
An alternative to
MockRestServiceServer.expect(RequestMatcher) that also indicates how
many times the request is expected to be executed. |
ResponseActions |
MockRestServiceServer.expect(RequestMatcher matcher)
Set up an expectation for a single HTTP request.
|
ResponseActions |
AbstractRequestExpectationManager.expectRequest(ExpectedCount count,
RequestMatcher matcher) |
ResponseActions |
RequestExpectationManager.expectRequest(ExpectedCount count,
RequestMatcher requestMatcher)
Set up a new request expectation.
|