StrictMocks in Mockito

Posted by & filed under Java.

Today someone asked how to verify that only your stubbed interactions occur, and no others (when using Mockito). I have heard this asked this quite often, especially by people used to JMock where mocks are strict by default. I’d be interested in knowing if there’s an out of the box way of doing this. The… Read more »