Class AbstractPackagingSmokeTest

java.lang.Object
org.mockserver.testing.integration.mock.AbstractMockingIntegrationTestBase
org.mockserver.testing.integration.mock.AbstractPackagingSmokeTest

public abstract class AbstractPackagingSmokeTest extends AbstractMockingIntegrationTestBase
Focused packaging-smoke base for maven-invoker subprojects.

Contains one representative test for each major code path so that any packaging/shading break is caught, without re-running the full 61-method matching suite (which is already fully covered by the in-reactor AbstractBasicMockingIntegrationTest hierarchy).

Every method here is copied verbatim from AbstractBasicMockingIntegrationTest.

Author:
jamesdbloom
  • Constructor Details

    • AbstractPackagingSmokeTest

      public AbstractPackagingSmokeTest()
  • Method Details

    • localNotFoundResponse

      protected HttpResponse localNotFoundResponse()
    • supportsHTTP2

      protected abstract boolean supportsHTTP2()
    • shouldReturnResponseWithOnlyBody

      public void shouldReturnResponseWithOnlyBody()
    • shouldReturnResponseByMatchingPathAndMethod

      public void shouldReturnResponseByMatchingPathAndMethod()
    • shouldReturnResponseByMatchingSchemaHeaderCookieAndParameter

      public void shouldReturnResponseByMatchingSchemaHeaderCookieAndParameter()
    • shouldReturnResponseByMatchingStringBody

      public void shouldReturnResponseByMatchingStringBody()
    • shouldReturnResponseByMatchingOpenAPISpecWithOperationId

      public void shouldReturnResponseByMatchingOpenAPISpecWithOperationId() throws com.fasterxml.jackson.core.JsonProcessingException
      Throws:
      com.fasterxml.jackson.core.JsonProcessingException
    • shouldReturnResponseByMatchingNotBody

      public void shouldReturnResponseByMatchingNotBody()
    • shouldReturnResponseFromVelocityTemplate

      public void shouldReturnResponseFromVelocityTemplate()
    • shouldReturnResponseFromMustacheTemplate

      public void shouldReturnResponseFromMustacheTemplate()
    • shouldForwardRequestInHTTP

      public void shouldForwardRequestInHTTP()
    • shouldVerifyReceivedRequestsSpecificTimesInHttpAndHttps

      public void shouldVerifyReceivedRequestsSpecificTimesInHttpAndHttps()
    • shouldClearExpectationsAndLogs

      public void shouldClearExpectationsAndLogs()
    • shouldReset

      public void shouldReset()
    • shouldReturnResponseInHTTPS

      public void shouldReturnResponseInHTTPS()
    • shouldReturnResponseWithOnlyStatusCode

      public void shouldReturnResponseWithOnlyStatusCode()
    • shouldRetrieveActiveExpectations

      public void shouldRetrieveActiveExpectations()