See: Description
Interface | Description |
---|---|
MockRestServiceServer.MockRestServiceServerBuilder |
Builder to create a
MockRestServiceServer . |
RequestExpectation |
An extension of
ResponseActions that also implements
RequestMatcher and ResponseCreator |
RequestExpectationManager |
Abstraction for creating HTTP request expectations, applying them to actual
requests (in strict or random order), and verifying whether expectations
have been met.
|
RequestMatcher |
A contract for matching requests to expectations.
|
ResponseActions |
A contract for setting up request expectations and defining a response.
|
ResponseCreator |
A contract for creating a
ClientHttpResponse . |
Class | Description |
---|---|
AbstractRequestExpectationManager |
Base class for
RequestExpectationManager implementations responsible
for storing expectations and actual requests, and checking for unsatisfied
expectations at the end. |
AbstractRequestExpectationManager.RequestExpectationGroup |
Helper class to manage a group of request expectations.
|
DefaultRequestExpectation |
Default implementation of
RequestExpectation that simply delegates
to the request matchers and the response creator it contains. |
DefaultRequestExpectation.RequestCount |
Helper class that keeps track of actual vs expected request count.
|
ExpectedCount |
A simple type representing a range for an expected count.
|
MockMvcClientHttpRequestFactory |
A
ClientHttpRequestFactory for requests executed via MockMvc . |
MockRestServiceServer |
Main entry point for client-side REST testing.
|
SimpleRequestExpectationManager |
Simple
RequestExpectationManager that matches requests to expectations
sequentially, i.e. |
UnorderedRequestExpectationManager |
RequestExpectationManager that matches requests to expectations
regardless of the order of declaration of expected requests. |
MockRestServiceServer