Class WireMockStaticRule

  • All Implemented Interfaces:
    org.junit.rules.MethodRule

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

      All Methods Instance Methods Concrete Methods Deprecated Methods 
      Modifier and Type Method Description
      protected void after()
      Deprecated.
       
      org.junit.runners.model.Statement apply​(org.junit.runners.model.Statement base, org.junit.runners.model.FrameworkMethod method, java.lang.Object target)
      Deprecated.
       
      protected void before()
      Deprecated.
       
      void stopServer()
      Deprecated.
       
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • WireMockStaticRule

        public WireMockStaticRule​(int port)
        Deprecated.
      • WireMockStaticRule

        public WireMockStaticRule()
        Deprecated.
    • Method Detail

      • 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,
                                                       java.lang.Object target)
        Deprecated.
        Specified by:
        apply in interface org.junit.rules.MethodRule
      • before

        protected void before()
        Deprecated.
      • after

        protected void after()
        Deprecated.