You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The invoke method failed:
java.lang.IllegalAccessException: class au.com.dius.pact.provider.ProviderVerifier$Companion cannot access a member of class MyProviderTest.
If I set "m.setAccessible(true)" it will succeed.
The text was updated successfully, but these errors were encountered:
I'm using message pacts with AMQP feature. After generating pact files (JSON), I'm not able to use it inside Provider test.
Steps to reproduce:
Current behaviour
1.1) Failed to invoke provider method 'verifySuccessResponse'
Expected behaviour
verifySuccessResponse should be invoked
Environment
Gradle + Java 11 + IntelliJ + pact-jvm libraries:
'au.com.dius.pact.provider:junit5:4.2.10'
'au.com.dius.pact.consumer:junit5:4.2.10'
Analysis
The invoke method failed:
java.lang.IllegalAccessException: class au.com.dius.pact.provider.ProviderVerifier$Companion cannot access a member of class MyProviderTest.
If I set "m.setAccessible(true)" it will succeed.
The text was updated successfully, but these errors were encountered: