public Target
Run Interaction and perform response verification
| Modifier and Type | Method and Description |
|---|---|
void |
addResultCallback(java.util.function.BiConsumer<java.lang.Boolean,au.com.dius.pact.provider.IProviderVerifier> callback)
Add a callback to receive the test interaction result
|
void |
testInteraction(java.lang.String consumerName,
au.com.dius.pact.core.model.Interaction interaction,
au.com.dius.pact.core.model.PactSource source,
java.util.Map<java.lang.String,? extends java.lang.Object> context)
Run Interaction and perform response verification
|
void testInteraction(java.lang.String consumerName,
au.com.dius.pact.core.model.Interaction interaction,
au.com.dius.pact.core.model.PactSource source,
java.util.Map<java.lang.String,? extends java.lang.Object> context)
Run Interaction and perform response verification
Any exception will be caught by caller and reported as test failure
consumerName - consumer name that generated the interactioninteraction - interaction to be testedsource - Source of the Pact interactioncontext - Context map for the testvoid addResultCallback(java.util.function.BiConsumer<java.lang.Boolean,au.com.dius.pact.provider.IProviderVerifier> callback)
Add a callback to receive the test interaction result