I'm trying to
test service-class of reactive mongoDB application, created on SpringBoot.
I don't use embedded mongodb! I'm only trying to mock repository
This is reactive mongo repository:
Repository, which should use it:
And test class:
Main configuration:
May be It doesn't matter is that case, but test-configurations is:
And, after running test, I receive the following exception:
caused by:
What am I doing wrong?