use of au.com.dius.pact.model.Interaction in project pact-jvm by DiUS.
the class InteractionRunner method run.
// Running
public void run(final RunNotifier notifier) {
for (final Interaction interaction : pact.getInteractions()) {
final Description description = describeChild(interaction);
notifier.fireTestStarted(description);
try {
interactionBlock(interaction).evaluate();
} catch (final Throwable e) {
notifier.fireTestFailure(new Failure(description, e));
} finally {
notifier.fireTestFinished(description);
}
}
}
Aggregations