| Package | Description |
|---|---|
| com.github.restdriver.clientdriver | |
| com.github.restdriver.clientdriver.exception | |
| com.github.restdriver.clientdriver.jetty |
| Modifier and Type | Method and Description |
|---|---|
ClientDriverExpectation |
ClientDriverRule.addExpectation(ClientDriverRequest request,
ClientDriverResponse response)
Adds an expectation on the ClientDriver to expect the given request and response.
|
ClientDriverExpectation |
ClientDriver.addExpectation(ClientDriverRequest request,
ClientDriverResponse response)
Add in an expected
ClientDriverRequest/ClientDriverResponse pair. |
ClientDriverExpectation |
ClientDriverExpectation.anyTimes()
Indicate that this expectation should be matched any number of times.
|
ClientDriverExpectation |
ClientDriverExpectation.times(int times)
Indicate that this expectation should be matched a given number of times.
|
ClientDriverExpectation |
ClientDriverExpectation.whenMatched(MatchedRequestHandler matchedRequestHandler)
When a call is matched call a handler
|
| Constructor and Description |
|---|
ClientDriverFailedExpectationException(List<ClientDriverExpectation> failedExpectations) |
ClientDriverFailedExpectationException(List<HttpRealRequest> unexpectedRequests,
List<ClientDriverExpectation> expectations) |
| Modifier and Type | Method and Description |
|---|---|
ClientDriverExpectation |
DefaultClientDriverJettyHandler.addExpectation(ClientDriverRequest request,
ClientDriverResponse response)
Add in a
ClientDriverRequest/ ClientDriverResponse pair. |
ClientDriverExpectation |
ClientDriverJettyHandler.addExpectation(ClientDriverRequest request,
ClientDriverResponse response)
Add in a
ClientDriverRequest/ClientDriverResponse pair. |
Copyright © 2016. All Rights Reserved.