Class WireMockStaticRule

java.lang.Object
com.github.tomakehurst.wiremock.junit.WireMockStaticRule
All Implemented Interfaces:
org.junit.rules.MethodRule

@Deprecated public class WireMockStaticRule extends Object implements org.junit.rules.MethodRule
Deprecated.
JUnit disallows this approach from version 4.11. Use WireMockClassRule instead
  • Constructor Details

    • WireMockStaticRule

      public WireMockStaticRule(int port)
      Deprecated.
    • WireMockStaticRule

      public WireMockStaticRule()
      Deprecated.
  • Method Details

    • stopServer

      public void stopServer()
      Deprecated.
    • apply

      public org.junit.runners.model.Statement apply(org.junit.runners.model.Statement base, org.junit.runners.model.FrameworkMethod method, Object target)
      Deprecated.
      Specified by:
      apply in interface org.junit.rules.MethodRule
    • before

      protected void before()
      Deprecated.
    • after

      protected void after()
      Deprecated.