It seems to be a Mockk opened issue: https://github.com/mockk/mockk/issues/182
2 possible quick fixes (pick one):
- Run the Instrumented Tests in an emulator >= Android-P
- Set
Foo
class as open (and the method(s) you want to mock too)
It seems to be a Mockk opened issue: https://github.com/mockk/mockk/issues/182
2 possible quick fixes (pick one):
Foo
class as open (and the method(s) you want to mock too)