Class WireMockStaticRule
- java.lang.Object
-
- com.github.tomakehurst.wiremock.junit.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. UseWireMockClassRule
instead
-
-
Constructor Summary
Constructors Constructor Description WireMockStaticRule()
Deprecated.WireMockStaticRule(int port)
Deprecated.
-
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.
-
-
-
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 interfaceorg.junit.rules.MethodRule
-
before
protected void before()
Deprecated.
-
after
protected void after()
Deprecated.
-
-