public class PrecannedTestExpectationCallback extends Object implements ExpectationCallback
| Modifier and Type | Field and Description | 
|---|---|
static HttpResponse | 
httpResponse  | 
| Constructor and Description | 
|---|
PrecannedTestExpectationCallback()  | 
| Modifier and Type | Method and Description | 
|---|---|
HttpResponse | 
handle(HttpRequest httpRequest)
Called for every request when expectation condition has been satisfied. 
 | 
public static HttpResponse httpResponse
public HttpResponse handle(HttpRequest httpRequest)
ExpectationCallbackhandle in interface ExpectationCallbackhttpRequest - the request that satisfied the expectation conditionCopyright © 2018. All rights reserved.