public class MessageTarget
extends BaseTarget
Out-of-the-box implementation of Target, that run Interaction against message pact and verify response By default it will scan all packages for annotated methods, but a list of packages can be provided to reduce the performance cost
public static au.com.dius.pact.provider.junit.target.MessageTarget.Companion Companion
@JvmOverloads
public MessageTarget(@NotNull
java.util.List<java.lang.String> packagesToScan,
@Nullable
java.lang.ClassLoader classLoader)
Out-of-the-box implementation of Target, that run Interaction against message pact and verify response By default it will scan all packages for annotated methods, but a list of packages can be provided to reduce the performance cost
packagesToScan - List of JVM packages@JvmOverloads
public MessageTarget(@NotNull
java.util.List<java.lang.String> packagesToScan)
Out-of-the-box implementation of Target, that run Interaction against message pact and verify response By default it will scan all packages for annotated methods, but a list of packages can be provided to reduce the performance cost
packagesToScan - List of JVM packages@JvmOverloads public MessageTarget()
Out-of-the-box implementation of Target, that run Interaction against message pact and verify response By default it will scan all packages for annotated methods, but a list of packages can be provided to reduce the performance cost
public void testInteraction(@NotNull
java.lang.String consumerName,
@NotNull
au.com.dius.pact.core.model.Interaction interaction,
@NotNull
au.com.dius.pact.core.model.PactSource source,
@NotNull
java.util.Map<java.lang.String,? extends java.lang.Object> context)
{@inheritDoc}
@NotNull
protected au.com.dius.pact.provider.IProviderVerifier setupVerifier(@NotNull
au.com.dius.pact.core.model.Interaction interaction,
@NotNull
au.com.dius.pact.provider.IProviderInfo provider,
@NotNull
au.com.dius.pact.provider.IConsumerInfo consumer,
@Nullable
au.com.dius.pact.core.model.PactSource pactSource)
@NotNull
protected au.com.dius.pact.provider.ProviderInfo getProviderInfo(@NotNull
au.com.dius.pact.core.model.PactSource source)