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