public class StubClientTest extends Object
Modifier and Type | Field and Description |
---|---|
org.junit.rules.ExpectedException |
exception |
Constructor and Description |
---|
StubClientTest() |
Modifier and Type | Method and Description |
---|---|
CompletionStage<Response<okio.ByteString>> |
getResponseFromPing() |
void |
setUp() |
void |
shouldClearSetupRequestsOnClear() |
void |
shouldDisallowAddingDelayForResponseSource() |
void |
shouldDisallowChangingDelayForResponseSource() |
void |
shouldDisallowInfiniteIterativeReplies() |
void |
shouldReplyWithStatusOnly() |
void |
shouldRespectCustomRequestMatcher() |
void |
shouldReturnConfiguredStatusCode() |
void |
shouldReturnConstantReplies() |
void |
shouldReturnIterativeReplies() |
void |
shouldReturnIterativeRepliesWithVaryingStatusCodes() |
void |
shouldReturnStatusCodeIntegers() |
void |
shouldSimulateDelay() |
void |
shouldSupportClearingRequests() |
void |
shouldSupportHeadersForResponses() |
void |
shouldSupportNoPayloads() |
void |
shouldSupportTrackingRequests() |
void |
shouldSupportTrackingRequestsAndResponses() |
public CompletionStage<Response<okio.ByteString>> getResponseFromPing()
public void shouldReturnConfiguredStatusCode() throws Exception
Exception
public void shouldReplyWithStatusOnly() throws Exception
Exception
public void shouldReturnStatusCodeIntegers() throws Exception
Exception
public void shouldReturnConstantReplies() throws Exception
Exception
public void shouldReturnIterativeReplies() throws Exception
Exception
public void shouldReturnIterativeRepliesWithVaryingStatusCodes() throws Exception
Exception
public void shouldDisallowInfiniteIterativeReplies() throws Exception
Exception
public void shouldRespectCustomRequestMatcher() throws Exception
Exception
public void shouldClearSetupRequestsOnClear() throws Throwable
Throwable
public void shouldDisallowChangingDelayForResponseSource() throws Exception
Exception
public void shouldSupportHeadersForResponses() throws Exception
Exception
public void shouldDisallowAddingDelayForResponseSource() throws Exception
Exception
public void shouldSupportTrackingRequests() throws Exception
Exception
public void shouldSupportClearingRequests() throws Exception
Exception
Copyright © 2016. All rights reserved.