We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
MockitoTestExecutionListener
Running tests with SpringRunner does not report unused stubs like MockitoJUnitRunner does.
SpringRunner
MockitoJUnitRunner
In MockitoTestExecutionListener.initMocks it should use
MockitoTestExecutionListener.initMocks
Mockito.mockitoSession() .initMocks(this) .strictness(Strictness.STRICT_STUBS) .startMocking();
to enable strict mocking.