Package au.com.dius.pact.consumer.junit
Class ConsumerPactTest
java.lang.Object
au.com.dius.pact.consumer.junit.ConsumerPactTest
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected abstract Stringprotected abstract au.com.dius.pact.core.model.RequestResponsePactcreatePact(au.com.dius.pact.consumer.dsl.PactDslWithProvider builder) protected au.com.dius.pact.core.model.PactSpecVersionprotected abstract Stringprotected abstract voidrunTest(au.com.dius.pact.consumer.MockServer mockServer, au.com.dius.pact.consumer.PactTestExecutionContext context) voidtestPact()
-
Constructor Details
-
ConsumerPactTest
public ConsumerPactTest()
-
-
Method Details
-
createPact
protected abstract au.com.dius.pact.core.model.RequestResponsePact createPact(au.com.dius.pact.consumer.dsl.PactDslWithProvider builder) -
providerName
-
consumerName
-
runTest
protected abstract void runTest(au.com.dius.pact.consumer.MockServer mockServer, au.com.dius.pact.consumer.PactTestExecutionContext context) throws IOException - Throws:
IOException
-
testPact
- Throws:
Throwable
-
getSpecificationVersion
protected au.com.dius.pact.core.model.PactSpecVersion getSpecificationVersion()
-