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

B

build(Closure) - Method in GroovyBuilder
build(Closure) - Method in PactBodyBuilder
build(Closure) - Method in PactBuilder
build(Closure) - Method in PactMessageBuilder

C

call(Closure) - Method in GroovyBuilder
call(Closure) - Method in PactBodyBuilder
call(Closure) - Method in PactBuilder
call(Closure) - Method in PactMessageBuilder

D

E

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

F

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

G

getBody() - Method in PactBodyBuilder
getMatcher() - Method in ValuesMatcher
given(String, Map) - Method in PactBuilder
Defines the provider state the provider needs to be in for the interaction
given(String) - Method in PactMessageBuilder
Provider state required for the message to be produced
GroovyBuilder - Class in au.com.dius.pact.consumer.groovy
Base class for builders

H

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

I

J

K

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

L

M

MessagePactFailedException - Class in au.com.dius.pact.consumer.groovy.messaging
Exception thrown when a message pact consumer test has failed
MessagePactFailedException(List) - Constructor in MessagePactFailedException
methodMissing(String, def) - Method in PactBodyBuilder

N

O

P

PactBodyBuilder - Class in au.com.dius.pact.consumer.groovy
DSL Builder for constructing JSON bodies
PactBuilder - Class in au.com.dius.pact.consumer.groovy
Builder DSL for Pact tests
PactFailedException - Class in au.com.dius.pact.consumer.groovy
Exception to indicate pact failures
PactFailedException(PactVerificationResult) - Constructor in PactFailedException
PactMessageBuilder - Class in au.com.dius.pact.consumer.groovy.messaging
Pact builder for consumer tests for messaging
PATH_SEP - Field in PactBodyBuilder
port(int) - Method in PactBuilder
Defines the port the provider will listen on
propertyMissing(String, def) - Method in PactBodyBuilder

Q

R

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

S

serviceConsumer(String) - Method in PactBuilder
Defines the service consumer
serviceConsumer(String) - Method in PactMessageBuilder
Service consumer
STAR - Field in PactBodyBuilder
START_LIST - Field in PactBodyBuilder

T

TWO - Field in PactBodyBuilder

U

updateInteractions() - Method in PactBuilder
uponReceiving(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

W

willRespondWith(Map) - Method in PactBuilder
Defines the response attributes (body, headers, etc.) that are returned for the request
withAttributes(Map) - Method in PactBuilder
Defines the request attributes (body, headers, etc.)
withBody(Map, LikeMatcher) - Method in PactBuilder
Allows the body to be defined using a Groovy builder pattern with an array as the root
withContent(Map, Closure) - Method in PactMessageBuilder
Content of the message
withFileUpload(String, String, String, byte[]) - Method in PactBuilder
Sets up a file upload request using a multipart FORM POST.
withMetaData(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 _