public class BaseProviderRule
protected java.lang.String provider
protected java.lang.Object target
protected au.com.dius.pact.model.MockProviderConfig config
public BaseProviderRule(java.lang.Object target,
java.lang.String provider,
java.lang.String hostInterface,
java.lang.Integer port,
au.com.dius.pact.model.PactSpecVersion pactVersion)
public au.com.dius.pact.model.MockProviderConfig getConfig()
public au.com.dius.pact.consumer.MockServer getMockServer()
public org.junit.runners.model.Statement apply(org.junit.runners.model.Statement base,
org.junit.runner.Description description)
protected void validateResult(au.com.dius.pact.consumer.PactVerificationResult result,
PactVerification pactVerification)
protected java.util.Map<java.lang.String,au.com.dius.pact.model.RequestResponsePact> getPacts(java.lang.String fragment)
scan all methods for @Pact annotation and execute them, if not already initialized
fragment - public java.lang.String getUrl()
Returns the URL for the mock server. Returns null if the mock server is not running.
public java.lang.Integer getPort()
Returns the port number for the mock server. Returns null if the mock server is not running.