Source file "org/mockito/internal/exceptions/Reporter.java" was not found during generation of report.
Element | Missed Instructions | Cov. | Missed Branches | Cov. | Missed | Cxty | Missed | Lines | Missed | Methods |
Total | 2,851 of 2,851 | 0% | 58 of 58 | 0% | 118 | 118 | 347 | 347 | 89 | 89 |
potentialStubbingProblem(Invocation, Collection) | ![]() | 0% | ![]() | 0% | 2 | 2 | 11 | 11 | 1 | 1 |
wrongTypeOfArgumentToReturn(InvocationOnMock, String, Class, int) | ![]() | 0% | n/a | 1 | 1 | 6 | 6 | 1 | 1 | |
argumentsAreDifferent(Invocation, MatchableInvocation, String, List, List) | ![]() | 0% | ![]() | 0% | 5 | 5 | 24 | 24 | 1 | 1 |
misplacedArgumentMatcher(List) | ![]() | 0% | n/a | 1 | 1 | 3 | 3 | 1 | 1 | |
incorrectUseOfAdditionalMatchers(String, int, Collection) | ![]() | 0% | n/a | 1 | 1 | 5 | 5 | 1 | 1 | |
possibleArgumentTypesOf(InvocationOnMock) | ![]() | 0% | ![]() | 0% | 5 | 5 | 16 | 16 | 1 | 1 |
cannotStubVoidMethodWithAReturnValue(String) | ![]() | 0% | n/a | 1 | 1 | 2 | 2 | 1 | 1 | |
invalidUseOfMatchers(int, List) | ![]() | 0% | n/a | 1 | 1 | 4 | 4 | 1 | 1 | |
formatUnncessaryStubbingException(Class, Collection) | ![]() | 0% | ![]() | 0% | 3 | 3 | 10 | 10 | 1 | 1 |
noInteractionsWanted(Object, List) | ![]() | 0% | ![]() | 0% | 2 | 2 | 11 | 11 | 1 | 1 |
unfinishedStubbing(Location) | ![]() | 0% | n/a | 1 | 1 | 2 | 2 | 1 | 1 | |
wantedButNotInvoked(DescribedInvocation, List) | ![]() | 0% | ![]() | 0% | 3 | 3 | 11 | 11 | 1 | 1 |
wrongTypeOfReturnValue(String, String, String) | ![]() | 0% | n/a | 1 | 1 | 2 | 2 | 1 | 1 | |
invalidArgumentPositionRangeAtInvocationTime(InvocationOnMock, boolean, int) | ![]() | 0% | ![]() | 0% | 2 | 2 | 8 | 8 | 1 | 1 |
missingMethodInvocation() | ![]() | 0% | n/a | 1 | 1 | 2 | 2 | 1 | 1 | |
unfinishedVerificationException(Location) | ![]() | 0% | n/a | 1 | 1 | 2 | 2 | 1 | 1 | |
noArgumentValueWasCaptured() | ![]() | 0% | n/a | 1 | 1 | 2 | 2 | 1 | 1 | |
cannotInitializeForSpyAnnotation(String, Exception) | ![]() | 0% | n/a | 1 | 1 | 3 | 3 | 1 | 1 | |
wantedButNotInvokedInOrder(DescribedInvocation, DescribedInvocation) | ![]() | 0% | n/a | 1 | 1 | 6 | 6 | 1 | 1 | |
createTooFewInvocationsMessage(Discrepancy, DescribedInvocation, List) | ![]() | 0% | ![]() | 0% | 3 | 3 | 8 | 8 | 1 | 1 |
delegatedMethodHasWrongReturnType(Method, Method, Object, Object) | ![]() | 0% | n/a | 1 | 1 | 6 | 6 | 1 | 1 | |
noMoreInteractionsWanted(Invocation, List) | ![]() | 0% | n/a | 1 | 1 | 7 | 7 | 1 | 1 | |
missingByteBuddyDependency(Throwable) | ![]() | 0% | ![]() | 0% | 4 | 4 | 6 | 6 | 1 | 1 |
incorrectUseOfApi() | ![]() | 0% | n/a | 1 | 1 | 3 | 3 | 1 | 1 | |
atMostAndNeverShouldNotBeUsedWithTimeout() | ![]() | 0% | n/a | 1 | 1 | 2 | 2 | 1 | 1 | |
wrongTypeReturnedByDefaultAnswer(Object, String, String, String) | ![]() | 0% | n/a | 1 | 1 | 3 | 3 | 1 | 1 | |
cannotInjectDependency(Field, Object, Exception) | ![]() | 0% | n/a | 1 | 1 | 5 | 5 | 1 | 1 | |
cannotInitializeForInjectMocksAnnotation(String, String) | ![]() | 0% | n/a | 1 | 1 | 2 | 2 | 1 | 1 | |
serializableWontWorkForObjectsThatDontImplementSerializable(Class) | ![]() | 0% | n/a | 1 | 1 | 3 | 3 | 1 | 1 | |
createAllLocationsArgsMessage(List) | ![]() | 0% | ![]() | 0% | 3 | 3 | 11 | 11 | 1 | 1 |
mockedTypeIsInconsistentWithSpiedInstanceType(Class, Object) | ![]() | 0% | n/a | 1 | 1 | 4 | 4 | 1 | 1 | |
mockedTypeIsInconsistentWithDelegatedInstanceType(Class, Object) | ![]() | 0% | n/a | 1 | 1 | 4 | 4 | 1 | 1 | |
nullPassedToVerify() | ![]() | 0% | n/a | 1 | 1 | 2 | 2 | 1 | 1 | |
onlyVoidMethodsCanBeSetToDoNothing() | ![]() | 0% | n/a | 1 | 1 | 2 | 2 | 1 | 1 | |
delegatedMethodDoesNotExistOnDelegate(Method, Object, Object) | ![]() | 0% | n/a | 1 | 1 | 4 | 4 | 1 | 1 | |
createTooManyInvocationsMessage(int, int, DescribedInvocation, List) | ![]() | 0% | n/a | 1 | 1 | 6 | 6 | 1 | 1 | |
moreThanOneMockCandidate(Field, Collection) | ![]() | 0% | n/a | 1 | 1 | 8 | 8 | 1 | 1 | |
notAMockPassedToVerify(Class) | ![]() | 0% | n/a | 1 | 1 | 3 | 3 | 1 | 1 | |
appendNotMatchingPositions(Invocation, MatchableInvocation, StringBuilder) | ![]() | 0% | ![]() | 0% | 4 | 4 | 12 | 12 | 1 | 1 |
cannotCreateTimerWithNegativeDurationTime(long) | ![]() | 0% | n/a | 1 | 1 | 2 | 2 | 1 | 1 | |
redundantMockitoListener(String) | ![]() | 0% | n/a | 1 | 1 | 2 | 2 | 1 | 1 | |
smartNullPointerException(String, Location) | ![]() | 0% | n/a | 1 | 1 | 3 | 3 | 1 | 1 | |
fieldInitialisationThrewException(Field, Throwable) | ![]() | 0% | n/a | 1 | 1 | 5 | 5 | 1 | 1 | |
neverWantedButInvoked(DescribedInvocation, List) | ![]() | 0% | n/a | 1 | 1 | 5 | 5 | 1 | 1 | |
createAllLocationsMessage(List) | ![]() | 0% | ![]() | 0% | 3 | 3 | 7 | 7 | 1 | 1 |
noMoreInteractionsWantedInOrder(Invocation) | ![]() | 0% | n/a | 1 | 1 | 5 | 5 | 1 | 1 | |
mocksHaveToBePassedToVerifyNoMoreInteractions() | ![]() | 0% | n/a | 1 | 1 | 2 | 2 | 1 | 1 | |
notAMockPassedToVerifyNoMoreInteractions() | ![]() | 0% | n/a | 1 | 1 | 2 | 2 | 1 | 1 | |
locationsOf(Collection) | ![]() | 0% | ![]() | 0% | 2 | 2 | 5 | 5 | 1 | 1 |
invocationListenerThrewException(InvocationListener, Throwable) | ![]() | 0% | n/a | 1 | 1 | 5 | 5 | 1 | 1 | |
nullPassedToWhenMethod() | ![]() | 0% | n/a | 1 | 1 | 2 | 2 | 1 | 1 | |
nullPassedToVerifyNoMoreInteractions() | ![]() | 0% | n/a | 1 | 1 | 2 | 2 | 1 | 1 | |
notAMockPassedWhenCreatingInOrder() | ![]() | 0% | n/a | 1 | 1 | 2 | 2 | 1 | 1 | |
nullPassedWhenCreatingInOrder() | ![]() | 0% | n/a | 1 | 1 | 2 | 2 | 1 | 1 | |
mocksHaveToBePassedWhenCreatingInOrder() | ![]() | 0% | n/a | 1 | 1 | 2 | 2 | 1 | 1 | |
inOrderRequiresFamiliarMock() | ![]() | 0% | n/a | 1 | 1 | 2 | 2 | 1 | 1 | |
cannotCallAbstractRealMethod() | ![]() | 0% | n/a | 1 | 1 | 2 | 2 | 1 | 1 | |
invalidArgumentRangeAtIdentityAnswerCreationTime() | ![]() | 0% | n/a | 1 | 1 | 2 | 2 | 1 | 1 | |
cannotMockClass(Class, String) | ![]() | 0% | n/a | 1 | 1 | 2 | 2 | 1 | 1 | |
createWantedButNotInvokedMessage(DescribedInvocation) | ![]() | 0% | n/a | 1 | 1 | 1 | 1 | 1 | 1 | |
extraInterfacesCannotContainMockedType(Class) | ![]() | 0% | n/a | 1 | 1 | 3 | 3 | 1 | 1 | |
reportNoSubMatchersFound(String) | ![]() | 0% | n/a | 1 | 1 | 3 | 3 | 1 | 1 | |
notAMockPassedToWhenMethod() | ![]() | 0% | n/a | 1 | 1 | 2 | 2 | 1 | 1 | |
cannotVerifyToString() | ![]() | 0% | n/a | 1 | 1 | 2 | 2 | 1 | 1 | |
unfinishedMockingSession() | ![]() | 0% | n/a | 1 | 1 | 2 | 2 | 1 | 1 | |
stubPassedToVerify(Object) | ![]() | 0% | n/a | 1 | 1 | 3 | 3 | 1 | 1 | |
tooManyActualInvocationsInOrder(int, int, DescribedInvocation, List) | ![]() | 0% | n/a | 1 | 1 | 3 | 3 | 1 | 1 | |
inlineClassWithoutUnboxImpl(Class, Exception) | ![]() | 0% | n/a | 1 | 1 | 2 | 2 | 1 | 1 | |
checkedExceptionInvalid(Throwable) | ![]() | 0% | n/a | 1 | 1 | 2 | 2 | 1 | 1 | |
tooFewActualInvocationsInOrder(Discrepancy, DescribedInvocation, List) | ![]() | 0% | n/a | 1 | 1 | 2 | 2 | 1 | 1 | |
extraInterfacesAcceptsOnlyInterfaces(Class) | ![]() | 0% | n/a | 1 | 1 | 3 | 3 | 1 | 1 | |
notAnException() | ![]() | 0% | n/a | 1 | 1 | 2 | 2 | 1 | 1 | |
wantedAtMostX(int, int) | ![]() | 0% | n/a | 1 | 1 | 3 | 3 | 1 | 1 | |
cannotStubWithNullThrowable() | ![]() | 0% | n/a | 1 | 1 | 1 | 1 | 1 | 1 | |
tooManyActualInvocations(int, int, DescribedInvocation, List) | ![]() | 0% | n/a | 1 | 1 | 3 | 3 | 1 | 1 | |
extraInterfacesDoesNotAcceptNullParameters() | ![]() | 0% | n/a | 1 | 1 | 1 | 1 | 1 | 1 | |
extraInterfacesRequiresAtLeastOneInterface() | ![]() | 0% | n/a | 1 | 1 | 1 | 1 | 1 | 1 | |
spyAndDelegateAreMutuallyExclusive() | ![]() | 0% | n/a | 1 | 1 | 2 | 2 | 1 | 1 | |
tooFewActualInvocations(Discrepancy, DescribedInvocation, List) | ![]() | 0% | n/a | 1 | 1 | 2 | 2 | 1 | 1 | |
exceptionCauseMessageIfAvailable(Exception) | ![]() | 0% | ![]() | 0% | 2 | 2 | 3 | 3 | 1 | 1 |
unsupportedCombinationOfAnnotations(String, String) | ![]() | 0% | n/a | 1 | 1 | 1 | 1 | 1 | 1 | |
methodDoesNotAcceptParameter(String, String) | ![]() | 0% | n/a | 1 | 1 | 1 | 1 | 1 | 1 | |
usingConstructorWithFancySerializable(SerializableMode) | ![]() | 0% | n/a | 1 | 1 | 1 | 1 | 1 | 1 | |
wantedButNotInvoked(DescribedInvocation) | ![]() | 0% | n/a | 1 | 1 | 1 | 1 | 1 | 1 | |
moreThanOneAnnotationNotAllowed(String) | ![]() | 0% | n/a | 1 | 1 | 1 | 1 | 1 | 1 | |
requiresAtLeastOneListener(String) | ![]() | 0% | n/a | 1 | 1 | 1 | 1 | 1 | 1 | |
defaultAnswerDoesNotAcceptNullParameter() | ![]() | 0% | n/a | 1 | 1 | 1 | 1 | 1 | 1 | |
strictnessDoesNotAcceptNullParameter() | ![]() | 0% | n/a | 1 | 1 | 1 | 1 | 1 | 1 | |
unncessaryStubbingException(List) | ![]() | 0% | n/a | 1 | 1 | 1 | 1 | 1 | 1 |