Mockito is super painful when you use named method parameters but Mockk does not play nicely with Srping Boot; anything recommended here
s
Szymon Jeziorski
08/07/2023, 3:10 PM
Have you tried SpringMockk? It uses MockK and provides API for mocking and spying Spring beans:
https://github.com/Ninja-Squad/springmockk
I personally find it super easy to use and had no real issues with it