open class DefaultRequestExpectation : RequestExpectation
Default implementation of RequestExpectation
that simply delegates to the request matchers and the response creator it contains.
Author
Rossen Stoyanchev
Since
4.3
DefaultRequestExpectation(expectedCount: ExpectedCount, requestMatcher: RequestMatcher)
Create a new request expectation that should be called a number of times as indicated by |
open fun andExpect(requestMatcher: RequestMatcher): ResponseActions |
|
open fun andRespond(responseCreator: ResponseCreator): Unit |
|
open fun createResponse(request: ClientHttpRequest): ClientHttpResponse |
|
open fun hasRemainingCount(): Boolean |
|
open fun isSatisfied(): Boolean |
|
open fun match(request: ClientHttpRequest): Unit |