@Test
public void should_execute_test_for_each_interaction() {

    when(test.getTestClass()).thenReturn(new TestClass(PactProvider.class));
    PactProvider pactDefinition = new PactProvider();
    when(test.getTestInstance()).thenReturn(pactDefinition);
    InteractionRunner interactionRunner = new InteractionRunner();
    interactionRunner.pactsInstance = pactsInstance;
    interactionRunner.targetInstance = () -> target;
    interactionRunner.executePacts(eventContext);
    assertThat(pactDefinition.consumer).isEqualTo(new Consumer("planets_consumer"));
    assertThat(pactDefinition.interaction).isNotNull();
    verify(eventContext, times(2)).proceed();
}