public class InteractionRunner<I extends Interaction>
Internal class to support pact test running
Developed with org.junit.runners.BlockJUnit4ClassRunner in mind
public static au.com.dius.pact.provider.junit.InteractionRunner.Companion Companion
public InteractionRunner(@NotNull
org.junit.runners.model.TestClass testClass,
@NotNull
au.com.dius.pact.core.model.Pact<I> pact,
@NotNull
au.com.dius.pact.core.model.PactSource pactSource)
Internal class to support pact test running
Developed with org.junit.runners.BlockJUnit4ClassRunner in mind
@NotNull protected au.com.dius.pact.core.support.expressions.ValueResolver getPropertyResolver()
protected void setPropertyResolver(@NotNull
au.com.dius.pact.core.support.expressions.ValueResolver p)
@NotNull public au.com.dius.pact.provider.TestResultAccumulator getTestResultAccumulator()
public void setTestResultAccumulator(@NotNull
au.com.dius.pact.provider.TestResultAccumulator p)
@NotNull public org.junit.runner.Description getDescription()
public void run(@NotNull
org.junit.runner.notification.RunNotifier notifier)
@NotNull protected java.lang.Object createTest()
@NotNull
protected org.junit.runners.model.Statement interactionBlock(@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)
protected void setupTargetForInteraction(@NotNull
au.com.dius.pact.provider.junitsupport.target.Target target)
@NotNull
protected au.com.dius.pact.provider.junitsupport.target.Target lookupTarget(@NotNull
java.lang.Object testInstance)
@NotNull
protected org.junit.runners.model.Statement withStateChanges(@NotNull
au.com.dius.pact.core.model.Interaction interaction,
@NotNull
java.lang.Object target,
@NotNull
org.junit.runners.model.Statement statement,
@NotNull
au.com.dius.pact.provider.junitsupport.target.Target testTarget)
@NotNull
protected org.junit.runners.model.Statement withBefores(@NotNull
au.com.dius.pact.core.model.Interaction interaction,
@NotNull
java.lang.Object target,
@NotNull
org.junit.runners.model.Statement statement)
@NotNull
protected org.junit.runners.model.Statement withAfters(@NotNull
au.com.dius.pact.core.model.Interaction interaction,
@NotNull
java.lang.Object target,
@NotNull
org.junit.runners.model.Statement statement)
@NotNull
protected org.junit.runners.model.Statement withRules(@NotNull
au.com.dius.pact.core.model.Interaction interaction,
@NotNull
java.lang.Object target,
@NotNull
org.junit.runners.model.Statement statement)
@NotNull protected org.junit.runners.model.TestClass getTestClass()