| Modifier and Type | Method and Description |
|---|---|
Expectation |
Expectation.body(BodyMatcher matcher)
A matcher for the body for a request
|
Expectation |
Expectation.body(String body)
A expected body for a request
|
Expectation |
MockClient.expect(HttpMethod method)
Expect ANY call to a path with this method
|
Expectation |
MockClient.expect(HttpMethod method,
String path)
Start an expectation chain.
|
Expectation |
Expectation.header(String key,
String value)
A expected header for a request
|
Expectation |
Expectation.queryString(String key,
String value)
A expected header for a request
|
Copyright © 2021. All rights reserved.