public class PactDslWithState
extends java.lang.Object
| Modifier and Type | Method and Description |
|---|---|
PactDslWithState |
given(java.lang.String stateDesc)
Adds another provider state to this interaction
|
PactDslWithState |
given(java.lang.String stateDesc,
java.util.Map<java.lang.String,java.lang.Object> params)
Adds another provider state to this interaction
|
PactDslRequestWithoutPath |
uponReceiving(java.lang.String description)
Description of the request that is expected to be received
|
public PactDslRequestWithoutPath uponReceiving(java.lang.String description)
description - request descriptionpublic PactDslWithState given(java.lang.String stateDesc)
stateDesc - Description of the statepublic PactDslWithState given(java.lang.String stateDesc, java.util.Map<java.lang.String,java.lang.Object> params)
stateDesc - Description of the stateparams - State data parameters