Replies: 1 comment
-
/cc @FroMage (panache), @loicmathieu (mongodb,panache) |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have a entity that extends the PanacheMongoEntity and for persist operations I use the method in the parent class. Also I have a REST interface that only have this code:
In the test class if I try to use PanacheMock to mock the class:
The mocking itself does not work, the persist will not throw exception, also for some reason the debug mode does not work either. What am I doing wrong? Is there good way to mock the behavior?
Beta Was this translation helpful? Give feedback.
All reactions