Class StubRunnerWireMockTestExecutionListener

  • All Implemented Interfaces:
    org.springframework.core.Ordered, org.springframework.test.context.TestExecutionListener

    public final class StubRunnerWireMockTestExecutionListener
    extends org.springframework.test.context.support.AbstractTestExecutionListener
    Marks context to be restarted if at least one stub has a fixed port.
    Since:
    1.2.6
    Author:
    Marcin Grzejszczak
    • Constructor Detail

      • StubRunnerWireMockTestExecutionListener

        public StubRunnerWireMockTestExecutionListener()
    • Method Detail

      • afterTestClass

        public void afterTestClass​(org.springframework.test.context.TestContext testContext)
        Specified by:
        afterTestClass in interface org.springframework.test.context.TestExecutionListener
        Overrides:
        afterTestClass in class org.springframework.test.context.support.AbstractTestExecutionListener