Exception | Description |
---|---|
CannotStubVoidMethodWithReturnValue | |
CannotVerifyStubOnlyMock | |
FriendlyReminderException | |
InvalidUseOfMatchersException | |
MissingMethodInvocationException | |
MockitoConfigurationException | |
NotAMockException | |
NullInsteadOfMockException | |
UnfinishedStubbingException | |
UnfinishedVerificationException | |
UnnecessaryStubbingException |
Indicates presence of stubbings in the test class that were never used in the code during test execution.
|
WrongTypeOfReturnValue |