public class ConsumerPactBuilder.PactDslWithProvider
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
class |
ConsumerPactBuilder.PactDslWithProvider.PactDslWithState |
| Constructor and Description |
|---|
PactDslWithProvider(java.lang.String provider) |
| Modifier and Type | Method and Description |
|---|---|
ConsumerPactBuilder.PactDslWithProvider.PactDslWithState |
given(java.lang.String state)
Describe the state the provider needs to be in for the pact test to be verified.
|
ConsumerPactBuilder.PactDslWithProvider.PactDslWithState.PactDslRequestWithoutPath |
uponReceiving(java.lang.String description)
Description of the request that is expected to be received
|
public ConsumerPactBuilder.PactDslWithProvider.PactDslWithState given(java.lang.String state)
state - Provider statepublic ConsumerPactBuilder.PactDslWithProvider.PactDslWithState.PactDslRequestWithoutPath uponReceiving(java.lang.String description)
description - request description