In mockito-kotlin, has anyone had issues attemptin...
# test
c
In mockito-kotlin, has anyone had issues attempting to mock final classes, after adding
mock-maker-inline
, and having the classes return the original class instead of the mocked
MockitoMock
class? Seems to work fine for my interfaces. Example:
Copy code
val mockFooService: FooService = mock() // Final Class
val mockBarService: BarService = mock() // Interface
mockFooService
returns
FooService
instead of
FooService$MockitoMock
mockBarService
returns
BarService$MockitoMock