I believe he's looking for the Strict Mocks added ...
# mockk
m
I believe he's looking for the Strict Mocks added in Mockito. So that one only defines mocks, and the framework verifies that all calls to a mock havse an expectation defined, and errors on any additional interactions. Nice for ensuring mocks get deleted if they're no longer required, and for ensuring that all usage is a mock rather than a stub. But I don't think MockK has implemented that yet. Not sure if it's an oft requested feature.