Hello team, I have a question regarding pact provi...
# pact-jvm
o
Hello team, I have a question regarding pact provider async tests. For tests I need to mock one of services, tried to use the @ExtendWith(MockitoExtension.class) but doesn’t work, tests skipped when I run the maven command with verifying pacts. An example: @Provider(provider-name) @ExtendWith(MockitoExtension.class) @Pactbroker(url =“brokerUrl”) class pactTest { @BeforeEach void setupTestTarget(PactVerificationContext context) { context.setTarget(new MessageTestTarget()); } @TestTemplate @ExtendWith(PactVerificationInvocationContextProvider.class) void pactVerificationTestTemplate(PactVerificationContext context) { context.verifyInteraction(); } @State(“state”) @PactVerifyPtovider(“”) MessageAndMetadata test() { } }