public class PactDslWithProvider
public PactDslWithProvider(ConsumerPactBuilder consumerPactBuilder, java.lang.String provider)
public PactDslWithState given(java.lang.String state)
Describe the state the provider needs to be in for the pact test to be verified.
state - Provider statepublic PactDslWithState given(java.lang.String state, java.util.Map<java.lang.String,java.lang.Object> params)
Describe the state the provider needs to be in for the pact test to be verified.
state - Provider stateparams - Data parameters for the statepublic PactDslWithState given(java.lang.String state, java.lang.String firstKey, java.lang.Object firstValue, java.lang.Object... paramsKeyValuePair)
Describe the state the provider needs to be in for the pact test to be verified.
firstKey - Key of first parameter elementfirstValue - Value of first parameter elementparamsKeyValuePair - Additional parameters in key-value pairspublic PactDslRequestWithoutPath uponReceiving(java.lang.String description)
Description of the request that is expected to be received
description - request descriptionpublic ConsumerPactBuilder getConsumerPactBuilder()
public void setDefaultRequestValues(PactDslRequestWithoutPath defaultRequestValues)
public void setDefaultResponseValues(PactDslResponse defaultResponseValues)