all that being said, have you tried Mockk's relaxe...
# mockk
p
all that being said, have you tried Mockk's relaxed mocks? I know there are some issues with generic parameters but overall it works pretty well..