Package | Description |
---|---|
com.spotify.apollo.test |
Modifier and Type | Method and Description |
---|---|
StubClient.StubbedResponseBuilder |
StubClient.StubbedResponseBuilder.in(long time,
TimeUnit unit)
Configure delay before the response should be sent.
|
StubClient.StubbedResponseBuilder |
StubClient.respond(Response<okio.ByteString> response)
Configure a constant (i.e., all matching requests will always result in the same response)
response for some request.
|
StubClient.StubbedResponseBuilder |
StubClient.respond(ResponseSource responseSource)
Configure a response source for matching requests.
|
Copyright © 2016. All rights reserved.