public abstract class AbstractBasicMockingIntegrationTest extends AbstractMockingIntegrationTestBase
headersToIgnore, mockServerClient, servletContext
Constructor and Description |
---|
AbstractBasicMockingIntegrationTest() |
calculatePath, getEchoServerPort, getServerPort, getServerSecurePort, makeRequest, resetServer, resetServletContext, verifyRequestsMatches
public void shouldForwardRequestInHTTP()
public void shouldForwardRequestInHTTPS()
public void shouldForwardOverriddenRequest()
public void shouldCallbackForForwardToSpecifiedClassWithPrecannedResponse()
public void shouldForwardTemplateInVelocity()
public void shouldAllowSimultaneousForwardAndResponseExpectations()
public void shouldCallbackForResponseToSpecifiedClassWithPrecannedResponse()
public void shouldSupportBatchedExpectations() throws Exception
Exception
public void shouldReturnResponseWithOnlyBody()
public void shouldReturnResponseWithOnlyStatusCode()
public void shouldReturnResponseByMatchingStringBody()
public void shouldReturnResponseForExpectationWithDelay()
public void shouldReturnResponseFromVelocityTemplate()
public void shouldReturnResponseByMatchingPathAndMethod()
public void shouldNotReturnResponseForNonMatchingBody()
public void shouldNotReturnResponseForNonMatchingPath()
public void shouldVerifyReceivedRequests()
public void shouldVerifyNotEnoughRequestsReceived()
public void shouldVerifyNoRequestsReceived()
public void shouldVerifySequenceOfRequestsReceived()
public void shouldRetrieveRecordedRequests()
public void shouldRetrieveActiveExpectations()
public void shouldRetrieveRecordedExpectations()
public void shouldRetrieveRecordedLogMessages()
public void shouldClearExpectationsAndLogs()
public void shouldReset()
public void shouldReturnErrorForInvalidExpectation() throws Exception
Exception
Copyright © 2018. All rights reserved.