com.github.tomakehurst.wiremock.junit
Class WireMockStaticRule

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

public class WireMockStaticRule
extends java.lang.Object
implements org.junit.rules.MethodRule


Constructor Summary
WireMockStaticRule()
           
WireMockStaticRule(int port)
           
 
Method Summary
 org.junit.runners.model.Statement apply(org.junit.runners.model.Statement base, org.junit.runners.model.FrameworkMethod method, java.lang.Object target)
           
 void stopServer()
           
 
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)

WireMockStaticRule

public WireMockStaticRule()
Method Detail

stopServer

public void stopServer()

apply

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