Package | Description |
---|---|
org.springframework.test.web.client |
Contains client-side REST testing support.
|
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 |
---|---|
RequestExpectation |
AbstractRequestExpectationManager.RequestExpectationGroup.findExpectation(org.springframework.http.client.ClientHttpRequest request) |
Modifier and Type | Method and Description |
---|---|
protected java.util.List<RequestExpectation> |
AbstractRequestExpectationManager.getExpectations()
Return a read-only list of the expectations.
|
java.util.Set<RequestExpectation> |
AbstractRequestExpectationManager.RequestExpectationGroup.getExpectations() |
Modifier and Type | Method and Description |
---|---|
void |
AbstractRequestExpectationManager.RequestExpectationGroup.update(RequestExpectation expectation)
Invoke this for an expectation that has been matched.
|
Modifier and Type | Method and Description |
---|---|
void |
AbstractRequestExpectationManager.RequestExpectationGroup.updateAll(java.util.Collection<RequestExpectation> expectations)
Collection variant of
AbstractRequestExpectationManager.RequestExpectationGroup.update(RequestExpectation) that can
be used to insert expectations. |