Class AbstractExtendedMockingIntegrationTest

Direct Known Subclasses:
AbstractExtendedSameJVMMockingIntegrationTest

public abstract class AbstractExtendedMockingIntegrationTest extends AbstractBasicMockingSameJVMIntegrationTest
Author:
jamesdbloom
  • Constructor Details

    • AbstractExtendedMockingIntegrationTest

      public AbstractExtendedMockingIntegrationTest()
  • Method Details

    • fixTime

      public static void fixTime()
    • shouldReturnResponseForRequestInSsl

      public void shouldReturnResponseForRequestInSsl()
    • shouldReturnResponseForRequestNotInSsl

      public void shouldReturnResponseForRequestNotInSsl()
    • shouldReturnResponseByMatchingOptionalHeaderWithEitherOr

      public void shouldReturnResponseByMatchingOptionalHeaderWithEitherOr()
    • shouldReturnResponseByMatchingOptionalBody

      public void shouldReturnResponseByMatchingOptionalBody()
    • shouldReturnResponseByMatchingBodyWithSpaceDelimitedParameters

      public void shouldReturnResponseByMatchingBodyWithSpaceDelimitedParameters()
    • shouldReturnResponseByMatchingOptionalParameterBody

      public void shouldReturnResponseByMatchingOptionalParameterBody()
    • shouldReturnResponseByMatchingMultipleHeadersWithKeyMatchDefault

      public void shouldReturnResponseByMatchingMultipleHeadersWithKeyMatchDefault()
    • shouldReturnResponseByMatchingMultipleHeadersWithKeyMatchByKey

      public void shouldReturnResponseByMatchingMultipleHeadersWithKeyMatchByKey()
    • shouldReturnMatchRequestWithBodyInUTF16

      public void shouldReturnMatchRequestWithBodyInUTF16()
    • shouldReturnMatchRequestWithBodyInUTF8WithContentTypeHeader

      public void shouldReturnMatchRequestWithBodyInUTF8WithContentTypeHeader()
    • shouldReturnResponseWithBodyInUTF16

      public void shouldReturnResponseWithBodyInUTF16()
    • shouldReturnResponseWithBodyInUTF8WithContentTypeHeader

      public void shouldReturnResponseWithBodyInUTF8WithContentTypeHeader()
    • shouldReturnResponseWithBodyInUTF8WithNoContentTypeHeader

      public void shouldReturnResponseWithBodyInUTF8WithNoContentTypeHeader()
    • shouldReturnResponseByMatchingSubStringBody

      public void shouldReturnResponseByMatchingSubStringBody()
    • shouldReturnResponseByMatchingNotRegexBody

      public void shouldReturnResponseByMatchingNotRegexBody()
    • shouldReturnResponseByMatchingNotSubStringBody

      public void shouldReturnResponseByMatchingNotSubStringBody()
    • shouldReturnResponseByMatchingNotExactBody

      public void shouldReturnResponseByMatchingNotExactBody()
    • shouldReturnResponseByMatchingBodyWithXPath

      public void shouldReturnResponseByMatchingBodyWithXPath()
    • shouldReturnResponseByMatchingBodyWithXmlSchema

      public void shouldReturnResponseByMatchingBodyWithXmlSchema()
    • shouldReturnResponseByMatchingBodyWithXmlSchemaByClasspath

      public void shouldReturnResponseByMatchingBodyWithXmlSchemaByClasspath()
    • shouldReturnResponseByMatchingBodyWithXmlWithSpecialCharactersDefaultingToUTF8

      public void shouldReturnResponseByMatchingBodyWithXmlWithSpecialCharactersDefaultingToUTF8()
    • shouldReturnResponseByMatchingBodyWithXmlWithSpecialCharactersAndCharset

      public void shouldReturnResponseByMatchingBodyWithXmlWithSpecialCharactersAndCharset()
    • shouldReturnResponseByMatchingBodyWithXmlWithSpecialCharactersClientCharsetDifferent

      public void shouldReturnResponseByMatchingBodyWithXmlWithSpecialCharactersClientCharsetDifferent()
    • shouldReturnXmlResponseWithUTF8

      public void shouldReturnXmlResponseWithUTF8()
    • shouldReturnResponseByMatchingBodyWithJsonWithSpecialCharactersDefaultingToUTF8

      public void shouldReturnResponseByMatchingBodyWithJsonWithSpecialCharactersDefaultingToUTF8()
    • shouldReturnResponseByMatchingBodyWithJsonAsRawBody

      public void shouldReturnResponseByMatchingBodyWithJsonAsRawBody()
    • shouldReturnResponseByMatchingBodyWithJsonWithBlankFields

      public void shouldReturnResponseByMatchingBodyWithJsonWithBlankFields()
    • shouldReturnResponseByMatchingBodyWithJsonWithCharsetUTF16

      public void shouldReturnResponseByMatchingBodyWithJsonWithCharsetUTF16()
    • shouldReturnResponseByMatchingBodyWithJsonWithContentTypeHeaderAndCharsetUTF16

      public void shouldReturnResponseByMatchingBodyWithJsonWithContentTypeHeaderAndCharsetUTF16()
    • shouldReturnResponseByMatchingBodyWithJsonWithUTF8

      public void shouldReturnResponseByMatchingBodyWithJsonWithUTF8()
    • shouldReturnResponseByMatchingBodyWithJsonWithNoCharset

      public void shouldReturnResponseByMatchingBodyWithJsonWithNoCharset()
    • shouldReturnJsonResponseWithJsonWithUTF8

      public void shouldReturnJsonResponseWithJsonWithUTF8()
    • shouldReturnResponseByMatchingBodyWithJsonWithMatchType

      public void shouldReturnResponseByMatchingBodyWithJsonWithMatchType()
    • shouldReturnResponseByMatchingBodyWithJsonSchema

      public void shouldReturnResponseByMatchingBodyWithJsonSchema()
    • shouldReturnResponseByMatchingBodyWithJsonPath

      public void shouldReturnResponseByMatchingBodyWithJsonPath()
    • shouldReturnPDFResponseByMatchingPath

      public void shouldReturnPDFResponseByMatchingPath() throws IOException
      Throws:
      IOException
    • shouldReturnPNGResponseByMatchingPath

      public void shouldReturnPNGResponseByMatchingPath() throws IOException
      Throws:
      IOException
    • shouldReturnPDFResponseByMatchingBinaryPDFBody

      public void shouldReturnPDFResponseByMatchingBinaryPDFBody() throws IOException
      Throws:
      IOException
    • shouldReturnPNGResponseByMatchingBinaryPNGBody

      public void shouldReturnPNGResponseByMatchingBinaryPNGBody() throws IOException
      Throws:
      IOException
    • shouldReturnResponseByMatchingPathAndMethodAndBody

      public void shouldReturnResponseByMatchingPathAndMethodAndBody()
    • shouldReturnResponseByMatchingPathAndMethodAndQueryStringParameters

      public void shouldReturnResponseByMatchingPathAndMethodAndQueryStringParameters()
    • shouldReturnResponseByMatchingPathAndMethodAndHeaders

      public void shouldReturnResponseByMatchingPathAndMethodAndHeaders()
    • shouldReturnResponseByMatchingPathAndMethodAndCookies

      public void shouldReturnResponseByMatchingPathAndMethodAndCookies()
    • shouldReturnResponseByMatchingPathAndMethodAndQueryStringParametersAndBodyParameters

      public void shouldReturnResponseByMatchingPathAndMethodAndQueryStringParametersAndBodyParameters()
    • shouldReturnResponseByMatchingPathAndMethodAndQueryStringParametersAndBody

      public void shouldReturnResponseByMatchingPathAndMethodAndQueryStringParametersAndBody()
    • shouldReturnResponseByMatchingPathAndMethodAndBodyParameters

      public void shouldReturnResponseByMatchingPathAndMethodAndBodyParameters()
    • shouldReturnResponseByMatchingPathAndMethodAndParametersAndHeadersAndCookies

      public void shouldReturnResponseByMatchingPathAndMethodAndParametersAndHeadersAndCookies()
    • shouldReturnResponseByNotMatchingBodyParameterWithNotOperatorForName

      public void shouldReturnResponseByNotMatchingBodyParameterWithNotOperatorForName()
    • shouldReturnResponseByNotMatchingBodyParameterWithNotOperatorForValue

      public void shouldReturnResponseByNotMatchingBodyParameterWithNotOperatorForValue()
    • shouldReturnResponseByNotMatchingQueryStringParameterWithNotOperatorForNameAndValue

      public void shouldReturnResponseByNotMatchingQueryStringParameterWithNotOperatorForNameAndValue()
    • shouldReturnResponseByNotMatchingQueryStringParameterWithNotOperatorForName

      public void shouldReturnResponseByNotMatchingQueryStringParameterWithNotOperatorForName()
    • shouldReturnResponseByNotMatchingQueryStringParameterWithNotOperatorForValue

      public void shouldReturnResponseByNotMatchingQueryStringParameterWithNotOperatorForValue()
    • shouldReturnResponseByNotMatchingCookieWithNotOperatorForNameAndValue

      public void shouldReturnResponseByNotMatchingCookieWithNotOperatorForNameAndValue()
    • shouldReturnResponseByNotMatchingCookieWithNotOperatorForName

      public void shouldReturnResponseByNotMatchingCookieWithNotOperatorForName()
    • shouldReturnResponseByNotMatchingCookieWithNotOperatorForValue

      public void shouldReturnResponseByNotMatchingCookieWithNotOperatorForValue()
    • shouldReturnResponseByNotMatchingHeaderWithNotOperatorForNameAndValue

      public void shouldReturnResponseByNotMatchingHeaderWithNotOperatorForNameAndValue()
    • shouldReturnResponseByNotMatchingHeaderWithNotOperatorForName

      public void shouldReturnResponseByNotMatchingHeaderWithNotOperatorForName()
    • shouldReturnResponseByNotMatchingHeaderWithNotOperatorForValue

      public void shouldReturnResponseByNotMatchingHeaderWithNotOperatorForValue()
    • shouldNotReturnResponseForMatchingBodyWithNotOperator

      public void shouldNotReturnResponseForMatchingBodyWithNotOperator()
    • shouldNotReturnResponseForNonMatchingXPathBody

      public void shouldNotReturnResponseForNonMatchingXPathBody()
    • shouldNotReturnResponseForNonMatchingXmlBody

      public void shouldNotReturnResponseForNonMatchingXmlBody()
    • shouldNotReturnResponseForNonMatchingJsonBody

      public void shouldNotReturnResponseForNonMatchingJsonBody()
    • shouldNotReturnResponseForNonMatchingJsonBodyWithMatchType

      public void shouldNotReturnResponseForNonMatchingJsonBodyWithMatchType()
    • shouldNotReturnResponseForNonMatchingJsonSchema

      public void shouldNotReturnResponseForNonMatchingJsonSchema()
    • shouldNotReturnResponseForNonMatchingJsonPathBody

      public void shouldNotReturnResponseForNonMatchingJsonPathBody()
    • shouldNotReturnResponseForNonMatchingBodyParameterName

      public void shouldNotReturnResponseForNonMatchingBodyParameterName()
    • shouldNotReturnResponseForMatchingBodyParameterWithNotOperator

      public void shouldNotReturnResponseForMatchingBodyParameterWithNotOperator()
    • shouldNotReturnResponseForNonMatchingBodyParameterValue

      public void shouldNotReturnResponseForNonMatchingBodyParameterValue()
    • shouldNotReturnResponseForNonMatchingQueryStringParameterName

      public void shouldNotReturnResponseForNonMatchingQueryStringParameterName()
    • shouldNotReturnResponseForNonMatchingQueryStringParameterValue

      public void shouldNotReturnResponseForNonMatchingQueryStringParameterValue()
    • shouldNotReturnResponseForMatchingQueryStringParameterWithNotOperator

      public void shouldNotReturnResponseForMatchingQueryStringParameterWithNotOperator()
    • shouldNotReturnResponseForNonMatchingCookieName

      public void shouldNotReturnResponseForNonMatchingCookieName()
    • shouldNotReturnResponseForNonMatchingCookieValue

      public void shouldNotReturnResponseForNonMatchingCookieValue()
    • shouldNotReturnResponseForMatchingCookieWithNotOperator

      public void shouldNotReturnResponseForMatchingCookieWithNotOperator()
    • shouldNotReturnResponseForNonMatchingHeaderName

      public void shouldNotReturnResponseForNonMatchingHeaderName()
    • shouldNotReturnResponseForNonMatchingHeaderValue

      public void shouldNotReturnResponseForNonMatchingHeaderValue()
    • shouldNotReturnResponseForMatchingHeaderWithNotOperator

      public void shouldNotReturnResponseForMatchingHeaderWithNotOperator()
    • shouldVerifyReceivedRequestInSsl

      public void shouldVerifyReceivedRequestInSsl()
    • shouldVerifyReceivedRequestsWithRegexBody

      public void shouldVerifyReceivedRequestsWithRegexBody()
    • shouldVerifyNoMatchingRequestsReceivedInSsl

      public void shouldVerifyNoMatchingRequestsReceivedInSsl()
    • shouldRetrieveRecordedRequestsAsJsonWithJsonBody

      public void shouldRetrieveRecordedRequestsAsJsonWithJsonBody()
    • shouldRetrieveRecordedRequestsAsLogEntries

      public void shouldRetrieveRecordedRequestsAsLogEntries() throws com.fasterxml.jackson.core.JsonProcessingException
      Throws:
      com.fasterxml.jackson.core.JsonProcessingException
    • getRequestTcpPortForPath

      public String getRequestTcpPortForPath(String path) throws com.fasterxml.jackson.core.JsonProcessingException
      Throws:
      com.fasterxml.jackson.core.JsonProcessingException
    • shouldRetrieveRecordedExpectationsAsJson

      public void shouldRetrieveRecordedExpectationsAsJson()
    • shouldClearExpectationsWithXPathBody

      public void shouldClearExpectationsWithXPathBody()
    • shouldClearExpectationsWithJsonSchemaBody

      public void shouldClearExpectationsWithJsonSchemaBody()
    • shouldClearExpectationsWithParameterBody

      public void shouldClearExpectationsWithParameterBody()
    • shouldReturnResponseByMatchingQueryParametersWithPipeDelimitedParameters

      public void shouldReturnResponseByMatchingQueryParametersWithPipeDelimitedParameters()
    • shouldReturnResponseByMatchingPathParametersWithMatrixStyleParameters

      public void shouldReturnResponseByMatchingPathParametersWithMatrixStyleParameters()
    • shouldReturnResponseByMatchingVeryLargeHeader

      public void shouldReturnResponseByMatchingVeryLargeHeader()
    • shouldAllowMatchingAgainstContentEncodingHeader

      public void shouldAllowMatchingAgainstContentEncodingHeader()