A B C D E F G H I J K L M N O P Q R S T U V W X Y Z _

A

ALL_LIST_ITEMS - Field in PactBodyBuilder
arrayContaining(java.util.List) - Method in PactBodyBuilder
Matches the items in an array against a number of variants.

B

build(groovy.lang.Closure) - Method in PactBodyBuilder
build(groovy.lang.Closure) - Method in PactBuilder
build(groovy.lang.Closure) - Method in PactMessageBuilder

C

call(groovy.lang.Closure) - Method in PactBodyBuilder
call(groovy.lang.Closure) - Method in PactBuilder
call(groovy.lang.Closure) - Method in PactMessageBuilder
comment(java.lang.String) - Method in PactBuilder
Adds a comment to either the request of response
consumer - Property in PactMessageBuilder
currentInteraction - Property in PactBuilder

D

DOLLAR - Field in PactBodyBuilder

E

END_LIST - Field in PactBodyBuilder
expectsToReceive(java.lang.String) - Method in PactMessageBuilder
Description of the message to be received

F

fromProviderState(java.lang.String, java.lang.Object) - Method in PactBodyBuilder
Marks a item as to be injected from the provider state
fromProviderState(java.lang.String, java.lang.Object) - Method in PactBuilder
Marks a item as to be injected from the provider state

G

generators - Property in PactBodyBuilder
getBody() - Method in PactBodyBuilder
getMatcher() - Method in ValuesMatcher
given(java.lang.String, java.util.Map) - Method in PactBuilder
Defines the provider state the provider needs to be in for the interaction
given(java.lang.String) - Method in PactMessageBuilder
Provider state required for the message to be produced

H

hasPactWith(java.lang.String) - Method in PactBuilder
Defines the provider the consumer has a pact with
hasPactWith(java.lang.String) - Method in PactMessageBuilder
Provider that the consumer has a pact with

I

interactions - Property in PactBuilder

J

K

keyLike(java.lang.String, java.lang.Object) - Method in PactBodyBuilder
Matches the values of the map ignoring the keys.

L

M

matchers - Property in PactBodyBuilder
MessagePactFailedException - Class in au.com.dius.pact.consumer.groovy.messaging
Exception thrown when a message pact consumer test has failed
MessagePactFailedException(java.util.List) - Constructor in MessagePactFailedException
messages - Property in PactMessageBuilder
methodMissing(java.lang.String, java.lang.Object) - Method in PactBodyBuilder
mimetype - Property in PactBodyBuilder

N

O

P

pact - Property in PactBuilder
PactBodyBuilder - Class in au.com.dius.pact.consumer.groovy
DSL Builder for constructing JSON bodies
PactBodyBuilder() - Constructor in PactBodyBuilder
PactBuilder - Class in au.com.dius.pact.consumer.groovy
Builder DSL for Pact tests
PactBuilder(au.com.dius.pact.core.model.PactSpecVersion) - Constructor in PactBuilder
PactFailedException - Class in au.com.dius.pact.consumer.groovy
Exception to indicate pact failures
PactFailedException(au.com.dius.pact.consumer.PactVerificationResult) - Constructor in PactFailedException
PactMessageBuilder - Class in au.com.dius.pact.consumer.groovy.messaging
Pact builder for consumer tests for messaging
PactMessageBuilder() - Constructor in PactMessageBuilder
PATH_SEP - Field in PactBodyBuilder
port - Property in PactBuilder
prettyPrintBody - Property in PactBodyBuilder
propertyMissing(java.lang.String, java.lang.Object) - Method in PactBodyBuilder
provider - Property in PactMessageBuilder
providerStates - Property in PactBuilder
providerStates - Property in PactMessageBuilder

Q

R

requestState - Property in PactBuilder
run(groovy.lang.Closure) - Method in PactMessageBuilder
Execute the given closure for each defined message
runTest(java.util.Map, groovy.lang.Closure) - Method in PactBuilder
Executes the providers closure in the context of the interactions defined on this builder.
runTestAndVerify(java.util.Map, groovy.lang.Closure) - Method in PactBuilder
Runs the test (via the runTest method), and throws an exception if it was not successful.

S

serviceConsumer(java.lang.String) - Method in PactBuilder
Defines the service consumer
serviceConsumer(java.lang.String) - Method in PactMessageBuilder
Service consumer
specVersion - Property in PactBuilder
STAR - Field in PactBodyBuilder
START_LIST - Field in PactBodyBuilder

T

testname(java.lang.String) - Method in PactBuilder
Sets the name of the test
TEXT - Field in PactBuilder

U

updateInteractions() - Method in PactBuilder
uponReceiving(java.lang.String) - Method in PactBuilder
Defines the start of an interaction

V

ValuesMatcher - Class in au.com.dius.pact.consumer.groovy
Matcher for validating the values in a map
ValuesMatcher() - Constructor in ValuesMatcher

W

willRespondWith(java.util.Map) - Method in PactBuilder
Defines the response attributes (body, headers, etc.) that are returned for the request
withAttributes(java.util.Map) - Method in PactBuilder
Defines the request attributes (body, headers, etc.)
withBody(java.util.Map, au.com.dius.pact.consumer.groovy.LikeMatcher) - Method in PactBuilder
Allows the body to be defined using a Groovy builder pattern with an array as the root
withContent(java.util.Map, groovy.lang.Closure) - Method in PactMessageBuilder
Content of the message
withFileUpload(java.lang.String, java.lang.String, java.lang.String, byte[]) - Method in PactBuilder
Sets up a file upload request using a multipart FORM POST.
withMetaData(java.util.Map) - Method in PactMessageBuilder
Metadata attached to the message

X

Y

Z

_

A B C D E F G H I J K L M N O P Q R S T U V W X Y Z _