Skip navigation links
A C E G H M P R T W 

A

apply(Statement, Description) - Method in class au.com.dius.pact.consumer.MessagePactProviderRule
 
apply(Statement, Description) - Method in class au.com.dius.pact.consumer.PactProviderRule
 
apply(Statement, Description) - Method in class au.com.dius.pact.consumer.PactRule
Deprecated.
 
au.com.dius.pact.consumer - package au.com.dius.pact.consumer
 

C

consumer(String) - Static method in class au.com.dius.pact.consumer.MessagePactBuilder
Name the consumer of the pact
consumerName() - Method in class au.com.dius.pact.consumer.ConsumerPactTest
 
ConsumerPactTest - Class in au.com.dius.pact.consumer
 
ConsumerPactTest() - Constructor for class au.com.dius.pact.consumer.ConsumerPactTest
 
createFragment(PactDslWithProvider) - Method in class au.com.dius.pact.consumer.ConsumerPactTest
 

E

expectsToReceive(String) - Method in class au.com.dius.pact.consumer.MessagePactBuilder
Adds a message expectation in the pact.

G

getConfig() - Method in class au.com.dius.pact.consumer.PactProviderRule
 
getConfig() - Method in class au.com.dius.pact.consumer.PactRule
Deprecated.
 
getPacts(String) - Method in class au.com.dius.pact.consumer.PactProviderRule
scan all methods for @Pact annotation and execute them, if not already initialized
getPacts() - Method in class au.com.dius.pact.consumer.PactRule
Deprecated.
scan all methods for @Pact annotation and execute them, if not already initialized
getSpecificationVersion() - Method in class au.com.dius.pact.consumer.ConsumerPactTest
 
given(String) - Method in class au.com.dius.pact.consumer.MessagePactBuilder
Sets the provider state.

H

hasPactWith(String) - Method in class au.com.dius.pact.consumer.MessagePactBuilder
Name the provider that the consumer has a pact with.

M

MessagePactBuilder - Class in au.com.dius.pact.consumer
PACT DSL builder for v3 specification
MessagePactProviderRule - Class in au.com.dius.pact.consumer
 
MessagePactProviderRule(Object) - Constructor for class au.com.dius.pact.consumer.MessagePactProviderRule
 

P

Pact - Annotation Type in au.com.dius.pact.consumer
describes the interactions between a provider and a consumer.
PACT_VERIFIED - Static variable in class au.com.dius.pact.consumer.ConsumerPactTest
 
PACT_VERIFIED - Static variable in class au.com.dius.pact.consumer.MessagePactProviderRule
 
PACT_VERIFIED - Static variable in class au.com.dius.pact.consumer.PactProviderRule
 
PACT_VERIFIED - Static variable in class au.com.dius.pact.consumer.PactRule
Deprecated.
 
PactMismatchException - Error in au.com.dius.pact.consumer
 
PactMismatchException(PactMismatch) - Constructor for error au.com.dius.pact.consumer.PactMismatchException
 
PactProviderRule - Class in au.com.dius.pact.consumer
A junit rule that wraps every test annotated with PactVerification.
PactProviderRule(String, String, Integer, PactConfig, Object) - Constructor for class au.com.dius.pact.consumer.PactProviderRule
Creates a mock provider by the given name
PactProviderRule(String, String, Integer, Object) - Constructor for class au.com.dius.pact.consumer.PactProviderRule
Creates a mock provider by the given name
PactProviderRule(String, Object) - Constructor for class au.com.dius.pact.consumer.PactProviderRule
Creates a mock provider by the given name.
PactProviderRule(String, PactSpecVersion, Object) - Constructor for class au.com.dius.pact.consumer.PactProviderRule
Creates a mock provider by the given name.
PactRule - Class in au.com.dius.pact.consumer
Deprecated.
Use PactProviderRule instead
PactRule(String, int, Object) - Constructor for class au.com.dius.pact.consumer.PactRule
Deprecated.
 
PactRule(String, Object) - Constructor for class au.com.dius.pact.consumer.PactRule
Deprecated.
 
PactRule(Object) - Constructor for class au.com.dius.pact.consumer.PactRule
Deprecated.
 
PactVerification - Annotation Type in au.com.dius.pact.consumer
Before each test, a mock server will be setup at given port/host that will provide mocked responses.
providerName() - Method in class au.com.dius.pact.consumer.ConsumerPactTest
 

R

runTest(String) - Method in class au.com.dius.pact.consumer.ConsumerPactTest
 

T

testPact() - Method in class au.com.dius.pact.consumer.ConsumerPactTest
 
toPact() - Method in class au.com.dius.pact.consumer.MessagePactBuilder
 

W

withContent(PactDslJsonBody) - Method in class au.com.dius.pact.consumer.MessagePactBuilder
 
withMetadata(Map<String, String>) - Method in class au.com.dius.pact.consumer.MessagePactBuilder
 
A C E G H M P R T W 
Skip navigation links