public abstract class AbstractBasicMockingIntegrationTest extends AbstractMockingIntegrationTestBase
headersToIgnore, insecureEchoServer, mockServerClient, secureEchoServer, servletContext
Constructor and Description |
---|
AbstractBasicMockingIntegrationTest() |
calculatePath, createClientAndEventLoopGroup, getServerPort, getServerSecurePort, makeRequest, resetServer, resetServletContext, startEchoServer, stopEventLoopGroup, verifyRequestsMatches
public void shouldForwardRequestInHTTP()
public void shouldForwardRequestInHTTPS()
public void shouldForwardOverriddenRequest()
public void shouldForwardOverriddenRequestWithOverriddenResponse()
public void shouldForwardOverriddenRequestWithSocketAddress()
public void shouldCallbackForwardCallbackToOverrideRequestInTestClasspath()
public void shouldCallbackForwardCallbackToOverrideRequestAndResponseInTestClasspath()
public void shouldForwardTemplateInVelocity()
public void shouldAllowSimultaneousForwardAndResponseExpectations()
public void shouldCallbackForResponseToSpecifiedClassWithPrecannedResponse()
public void shouldSupportBatchedExpectations() throws Exception
Exception
public void shouldReturnResponseWithOnlyBody()
public void shouldReturnResponseInHttpAndHttps()
public void shouldReturnResponseWithOnlyStatusCode()
public void shouldReturnResponseByMatchingStringBody()
public void shouldReturnResponseByMatchingNotBody()
public void shouldReturnResponseFromVelocityTemplate()
public void shouldReturnResponseByMatchingPathAndMethod()
public void shouldNotReturnResponseForNonMatchingBody()
public void shouldNotReturnResponseForNonMatchingPath()
public void shouldVerifyReceivedRequestsSpecificTimesInHttpAndHttps()
public void shouldVerifyNotReceivedRequestWithEmptyBody()
public void shouldVerifyNotEnoughRequestsReceived()
public void shouldVerifyNoRequestsReceived()
public void shouldVerifySequenceOfRequestsReceived()
public void shouldRetrieveRecordedRequests()
public void shouldRetrieveActiveExpectations()
public void shouldRetrieveRecordedExpectations() throws InterruptedException
InterruptedException
public void shouldRetrieveRecordedLogMessages()
public void shouldClearExpectationsAndLogs()
public void shouldReset()
public void shouldReturnErrorForInvalidExpectation() throws Exception
Exception
public void shouldReturnErrorForInvalidRequest() throws Exception
Exception
public void shouldForwardRequestInHTTPWithDelay()
public void shouldForwardOverriddenRequestWithDelay()
public void shouldCallbackClassForForwardWithDelay()
public void shouldReturnResponseForExpectationWithDelay()
public void shouldCallbackClassForResponseForExpectationWithDelay()
Copyright © 2020. All rights reserved.