public TestTarget
Interface to a test target
Modifier and Type | Method and Description |
---|---|
java.util.Map<java.lang.String,java.lang.Object> |
executeInteraction(java.lang.Object client,
java.lang.Object request)
Executes the test (using the client and request from prepareRequest, if any)
|
au.com.dius.pact.provider.ProviderInfo |
getProviderInfo(java.lang.String serviceName,
au.com.dius.pact.model.PactSource pactSource)
Returns information about the provider
|
boolean |
isHttpTarget()
If this is a request response (HTTP or HTTPS) target
|
kotlin.Pair<java.lang.Object,java.lang.Object> |
prepareRequest(au.com.dius.pact.model.Interaction interaction)
Prepares the request for the interaction.
|
void |
prepareVerifier(au.com.dius.pact.provider.ProviderVerifier verifier,
java.lang.Object testInstance)
Prepares the verifier for use during the test
|
au.com.dius.pact.provider.ProviderInfo getProviderInfo(java.lang.String serviceName, au.com.dius.pact.model.PactSource pactSource)
Returns information about the provider
kotlin.Pair<java.lang.Object,java.lang.Object> prepareRequest(au.com.dius.pact.model.Interaction interaction)
Prepares the request for the interaction.
boolean isHttpTarget()
If this is a request response (HTTP or HTTPS) target
java.util.Map<java.lang.String,java.lang.Object> executeInteraction(java.lang.Object client, java.lang.Object request)
Executes the test (using the client and request from prepareRequest, if any)
void prepareVerifier(au.com.dius.pact.provider.ProviderVerifier verifier, java.lang.Object testInstance)
Prepares the verifier for use during the test