JVM version of Pact. Enables consumer driven contract testing, providing a mock service and DSL for the consumer project, and interaction playback and verification for the service provider project.
I'm trying to validate a v4 PACT with the junit5 provider-tests but get an exception:
1) Verifying a pact between push-tan-sdk-rest and push-notification-fs-rest - registration
1.1) class au.com.dius.pact.core.model.V4Interaction$SynchronousHttp cannot be cast to class au.com.dius.pact.core.model.RequestResponseInteraction (au.com.dius.pact.core.model.V4Interaction$SynchronousHttp and au.com.dius.pact.core.model.RequestResponseInteraction are in unnamed module of loader 'app')
at au.com.dius.pact.provider.junit5.PactVerificationContext.verifyInteraction(PactVerificationContext.kt:62)
I'm running the latest version (4.2.5) with Junit5.
I'm trying to validate a v4 PACT with the junit5 provider-tests but get an exception:
I'm running the latest version (4.2.5) with Junit5.
Here's the PACT: