public class ConsumerPactBuilder
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
class |
ConsumerPactBuilder.PactDslRequestWithPath |
class |
ConsumerPactBuilder.PactDslResponse |
class |
ConsumerPactBuilder.PactDslWithProvider |
| Constructor and Description |
|---|
ConsumerPactBuilder(java.lang.String consumer) |
| Modifier and Type | Method and Description |
|---|---|
static ConsumerPactBuilder |
consumer(java.lang.String consumer)
Name the consumer of the pact
|
ConsumerPactBuilder.PactDslWithProvider |
hasPactWith(java.lang.String provider)
Name the provider that the consumer has a pact with
|
static PactDslJsonBody |
jsonBody() |
public static ConsumerPactBuilder consumer(java.lang.String consumer)
consumer - Consumer namepublic ConsumerPactBuilder.PactDslWithProvider hasPactWith(java.lang.String provider)
provider - provider namepublic static PactDslJsonBody jsonBody()