Mock Version: 2.12 Mock Version: 2.12 Mock Version: 2.12 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target noarch --nodeps /builddir/build/SPECS/mockito.spec'], chrootPath='/var/lib/mock/module-javapackages-tools-201902-8060020220519080256-5dbfe8be-build-63068-21432/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=86400uid=993gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target noarch --nodeps /builddir/build/SPECS/mockito.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: noarch Building for target noarch Wrote: /builddir/build/SRPMS/mockito-3.1.2-2.module+el8.6.0+501+87374eb3.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target noarch --nodeps /builddir/build/SPECS/mockito.spec'], chrootPath='/var/lib/mock/module-javapackages-tools-201902-8060020220519080256-5dbfe8be-build-63068-21432/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=86400uid=993gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target noarch --nodeps /builddir/build/SPECS/mockito.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: noarch Building for target noarch Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.fkmXiY + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf mockito-3.1.2 + /usr/bin/xz -dc /builddir/build/SOURCES/mockito-3.1.2.tar.xz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd mockito-3.1.2 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (use-unbundled-asm.patch):' Patch #0 (use-unbundled-asm.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file src/main/java/org/mockito/internal/creation/bytebuddy/InlineBytecodeGenerator.java patching file src/test/java/org/mockito/internal/creation/bytebuddy/AbstractByteBuddyMockMakerTest.java patching file src/test/java/org/mockito/internal/junit/JUnitRuleTest.java patching file src/test/java/org/mockitointegration/NoJUnitDependenciesTest.java + sed -e s/@VERSION@/3.1.2/ /builddir/build/SOURCES/mockito-core.pom + cat + /usr/libexec/platform-python /usr/share/java-utils/mvn_alias.py org.mockito:mockito-core org.mockito:mockito-all + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.p4oFNW + umask 022 + cd /builddir/build/BUILD + cd mockito-3.1.2 + javac src/main/java/org/mockito/internal/creation/bytebuddy/inject/MockMethodDispatcher.java + /usr/libexec/platform-python /usr/share/java-utils/mvn_build.py --xmvn-javadoc -- -Dproject.build.sourceEncoding=UTF-8 Executing: xmvn --batch-mode --offline -Dproject.build.sourceEncoding=UTF-8 verify org.fedoraproject.xmvn:xmvn-mojo:install org.fedoraproject.xmvn:xmvn-mojo:javadoc org.fedoraproject.xmvn:xmvn-mojo:builddep ['xmvn', '--batch-mode', '--offline', '-Dproject.build.sourceEncoding=UTF-8', 'verify', 'org.fedoraproject.xmvn:xmvn-mojo:install', 'org.fedoraproject.xmvn:xmvn-mojo:javadoc', 'org.fedoraproject.xmvn:xmvn-mojo:builddep'] [INFO] Scanning for projects... [INFO] [INFO] ----------------------< org.mockito:mockito-core >---------------------- [INFO] Building mockito-core 3.1.2 [INFO] --------------------------------[ jar ]--------------------------------- [INFO] [INFO] --- maven-resources-plugin:3.1.0:resources (default-resources) @ mockito-core --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] skip non existing resourceDirectory /builddir/build/BUILD/mockito-3.1.2/src/main/resources [INFO] [INFO] --- maven-compiler-plugin:3.8.1:compile (default-compile) @ mockito-core --- [INFO] Changes detected - recompiling the module! [INFO] Compiling 459 source files to /builddir/build/BUILD/mockito-3.1.2/target/classes [INFO] /builddir/build/BUILD/mockito-3.1.2/src/main/java/org/mockito/internal/configuration/plugins/DefaultMockitoPlugins.java: Some input files use or override a deprecated API. [INFO] /builddir/build/BUILD/mockito-3.1.2/src/main/java/org/mockito/internal/configuration/plugins/DefaultMockitoPlugins.java: Recompile with -Xlint:deprecation for details. [INFO] /builddir/build/BUILD/mockito-3.1.2/src/main/java/org/mockito/internal/junit/StrictStubsRunnerTestListener.java: Some input files use unchecked or unsafe operations. [INFO] /builddir/build/BUILD/mockito-3.1.2/src/main/java/org/mockito/internal/junit/StrictStubsRunnerTestListener.java: Recompile with -Xlint:unchecked for details. [INFO] [INFO] --- maven-bundle-plugin:4.2.1:manifest (default) @ mockito-core --- [WARNING] Manifest org.mockito:mockito-core:jar:3.1.2 : Export org.mockito.plugins, has 1, private references [org.mockito.internal.creation.instance] [WARNING] Manifest org.mockito:mockito-core:jar:3.1.2 : Export org.mockito.verification, has 2, private references [org.mockito.internal.verification, org.mockito.internal.verification.api] [INFO] [INFO] --- exec-maven-plugin:1.6.0:exec (default) @ mockito-core --- [INFO] [INFO] --- maven-resources-plugin:3.1.0:testResources (default-testResources) @ mockito-core --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] skip non existing resourceDirectory /builddir/build/BUILD/mockito-3.1.2/src/test/resources [INFO] [INFO] --- maven-compiler-plugin:3.8.1:testCompile (default-testCompile) @ mockito-core --- [INFO] Changes detected - recompiling the module! [INFO] Compiling 400 source files to /builddir/build/BUILD/mockito-3.1.2/target/test-classes [INFO] /builddir/build/BUILD/mockito-3.1.2/src/test/java/org/mockitousage/bugs/IOOBExceptionShouldNotBeThrownWhenNotCodingFluentlyTest.java: Some input files use or override a deprecated API. [INFO] /builddir/build/BUILD/mockito-3.1.2/src/test/java/org/mockitousage/bugs/IOOBExceptionShouldNotBeThrownWhenNotCodingFluentlyTest.java: Recompile with -Xlint:deprecation for details. [INFO] /builddir/build/BUILD/mockito-3.1.2/src/test/java/org/mockito/internal/creation/bytebuddy/AbstractByteBuddyMockMakerTest.java: Some input files use unchecked or unsafe operations. [INFO] /builddir/build/BUILD/mockito-3.1.2/src/test/java/org/mockito/internal/creation/bytebuddy/AbstractByteBuddyMockMakerTest.java: Recompile with -Xlint:unchecked for details. [INFO] [INFO] --- maven-surefire-plugin:3.0.0-M3:test (default-test) @ mockito-core --- [INFO] [INFO] ------------------------------------------------------- [INFO] T E S T S [INFO] ------------------------------------------------------- [INFO] Running org.mockitoutil.TestBaseTest [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.029 s - in org.mockitoutil.TestBaseTest [INFO] Running org.mockitoutil.SafeJUnitRuleTest [INFO] Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.367 s - in org.mockitoutil.SafeJUnitRuleTest [INFO] Running org.mockitoutil.ClassLoadersTest [INFO] Tests run: 18, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.073 s - in org.mockitoutil.ClassLoadersTest [INFO] Running org.mockitoutil.async.AsyncTestingTest [AsyncTesting] Starting thread that will execute the runnable after 200 millis. Threads so far: 0 [AsyncTesting] Interrupting and waiting for 1 threads to complete... [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.298 s - in org.mockitoutil.async.AsyncTestingTest [INFO] Running org.mockitousage.bugs.ArgumentCaptorDontCapturePreviouslyVerifiedTest [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.089 s - in org.mockitousage.bugs.ArgumentCaptorDontCapturePreviouslyVerifiedTest [INFO] Running org.mockitousage.bugs.VerifyingWithAnExtraCallToADifferentMockTest [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.007 s - in org.mockitousage.bugs.VerifyingWithAnExtraCallToADifferentMockTest [INFO] Running org.mockitousage.bugs.CovariantOverrideTest [INFO] Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.012 s - in org.mockitousage.bugs.CovariantOverrideTest [INFO] Running org.mockitousage.bugs.FillInStackTraceScenariosTest [INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.001 s - in org.mockitousage.bugs.FillInStackTraceScenariosTest [INFO] Running org.mockitousage.bugs.ClassCastExOnVerifyZeroInteractionsTest [INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.005 s - in org.mockitousage.bugs.ClassCastExOnVerifyZeroInteractionsTest [INFO] Running org.mockitousage.bugs.NPEWithCertainMatchersTest [INFO] Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.004 s - in org.mockitousage.bugs.NPEWithCertainMatchersTest [INFO] Running org.mockitousage.bugs.MultipleInOrdersTest [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.032 s - in org.mockitousage.bugs.MultipleInOrdersTest [INFO] Running org.mockitousage.bugs.creation.PublicMethodInParentWithNonPublicTypeInSignatureTest [INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.003 s - in org.mockitousage.bugs.creation.PublicMethodInParentWithNonPublicTypeInSignatureTest [INFO] Running org.mockitousage.bugs.creation.ConstructorInvokingMethodShouldNotRaiseExceptionTest [INFO] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.017 s - in org.mockitousage.bugs.creation.ConstructorInvokingMethodShouldNotRaiseExceptionTest [INFO] Running org.mockitousage.bugs.creation.ShouldAllowInlineMockCreationTest [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.018 s - in org.mockitousage.bugs.creation.ShouldAllowInlineMockCreationTest [INFO] Running org.mockitousage.bugs.SpyShouldHaveNiceNameTest [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.078 s - in org.mockitousage.bugs.SpyShouldHaveNiceNameTest [INFO] Running org.mockitousage.bugs.MultithreadedStubbingHalfManualTest [WARNING] Tests run: 1, Failures: 0, Errors: 0, Skipped: 1, Time elapsed: 0 s - in org.mockitousage.bugs.MultithreadedStubbingHalfManualTest [INFO] Running org.mockitousage.bugs.EnabledMockingInterfaceCloneMethodTest [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.004 s - in org.mockitousage.bugs.EnabledMockingInterfaceCloneMethodTest [INFO] Running org.mockitousage.bugs.ConfusedSignatureTest [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.008 s - in org.mockitousage.bugs.ConfusedSignatureTest [INFO] Running org.mockitousage.bugs.IOOBExceptionShouldNotBeThrownWhenNotCodingFluentlyTest [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.022 s - in org.mockitousage.bugs.IOOBExceptionShouldNotBeThrownWhenNotCodingFluentlyTest [INFO] Running org.mockitousage.bugs.CaptorAnnotationAutoboxingTest [INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.007 s - in org.mockitousage.bugs.CaptorAnnotationAutoboxingTest [INFO] Running org.mockitousage.bugs.StubbingMocksThatAreConfiguredToReturnMocksTest [INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.005 s - in org.mockitousage.bugs.StubbingMocksThatAreConfiguredToReturnMocksTest [INFO] Running org.mockitousage.bugs.injection.InjectionByTypeShouldFirstLookForExactTypeThenAncestorTest [INFO] Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.012 s - in org.mockitousage.bugs.injection.InjectionByTypeShouldFirstLookForExactTypeThenAncestorTest [INFO] Running org.mockitousage.bugs.injection.ShouldNotTryToInjectInFinalOrStaticFieldsTest [INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.044 s - in org.mockitousage.bugs.injection.ShouldNotTryToInjectInFinalOrStaticFieldsTest [INFO] Running org.mockitousage.bugs.injection.ParentTestMockInjectionTest [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.011 s - in org.mockitousage.bugs.injection.ParentTestMockInjectionTest [INFO] Running org.mockitousage.bugs.injection.Issue353InjectionMightNotHappenInCertainConfigurationTest [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.001 s - in org.mockitousage.bugs.injection.Issue353InjectionMightNotHappenInCertainConfigurationTest [INFO] Running org.mockitousage.bugs.injection.ChildWithSameParentFieldInjectionTest [INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.003 s - in org.mockitousage.bugs.injection.ChildWithSameParentFieldInjectionTest [INFO] Running org.mockitousage.bugs.injection.InjectMocksShouldTryPropertySettersFirstBeforeFieldAccessTest [INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.001 s - in org.mockitousage.bugs.injection.InjectMocksShouldTryPropertySettersFirstBeforeFieldAccessTest [INFO] Running org.mockitousage.bugs.ImplementationOfGenericAbstractMethodNotInvokedOnSpyTest [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.006 s - in org.mockitousage.bugs.ImplementationOfGenericAbstractMethodNotInvokedOnSpyTest [INFO] Running org.mockitousage.bugs.varargs.VarargsErrorWhenCallingRealMethodTest [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.006 s - in org.mockitousage.bugs.varargs.VarargsErrorWhenCallingRealMethodTest [INFO] Running org.mockitousage.bugs.varargs.VarargsAndAnyObjectPicksUpExtraInvocationsTest [INFO] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.007 s - in org.mockitousage.bugs.varargs.VarargsAndAnyObjectPicksUpExtraInvocationsTest [INFO] Running org.mockitousage.bugs.varargs.VarargsNotPlayingWithAnyObjectTest [INFO] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.007 s - in org.mockitousage.bugs.varargs.VarargsNotPlayingWithAnyObjectTest [INFO] Running org.mockitousage.bugs.deepstubs.DeepStubFailingWhenGenericNestedAsRawTypeTest [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.013 s - in org.mockitousage.bugs.deepstubs.DeepStubFailingWhenGenericNestedAsRawTypeTest [INFO] Running org.mockitousage.bugs.deepstubs.DeepStubsWronglyReportsSerializationProblemsTest [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.008 s - in org.mockitousage.bugs.deepstubs.DeepStubsWronglyReportsSerializationProblemsTest [INFO] Running org.mockitousage.bugs.InheritedGenericsPolimorphicCallTest [INFO] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.017 s - in org.mockitousage.bugs.InheritedGenericsPolimorphicCallTest [INFO] Running org.mockitousage.bugs.CompareMatcherTest [MockitoHint] CompareMatcherTest.matchesWithSubTypeGenericMethod (see javadoc for MockitoHint): [MockitoHint] 1. Unused -> at org.mockitousage.bugs.CompareMatcherTest.matchesWithSubTypeGenericMethod(CompareMatcherTest.java:130) [MockitoHint] CompareMatcherTest.compareToNull (see javadoc for MockitoHint): [MockitoHint] 1. Unused -> at org.mockitousage.bugs.CompareMatcherTest.compareToNull(CompareMatcherTest.java:61) [MockitoHint] CompareMatcherTest.compareToIntVsString (see javadoc for MockitoHint): [MockitoHint] 1. Unused -> at org.mockitousage.bugs.CompareMatcherTest.compareToIntVsString(CompareMatcherTest.java:78) [MockitoHint] CompareMatcherTest.compareToNonCompareable (see javadoc for MockitoHint): [MockitoHint] 1. Unused -> at org.mockitousage.bugs.CompareMatcherTest.compareToNonCompareable(CompareMatcherTest.java:51) [MockitoHint] CompareMatcherTest.compareToStringVsInt (see javadoc for MockitoHint): [MockitoHint] 1. Unused -> at org.mockitousage.bugs.CompareMatcherTest.compareToStringVsInt(CompareMatcherTest.java:71) [MockitoHint] CompareMatcherTest.matchesWithSubTypeExtendingGenericClass (see javadoc for MockitoHint): [MockitoHint] 1. Unused -> at org.mockitousage.bugs.CompareMatcherTest.matchesWithSubTypeExtendingGenericClass(CompareMatcherTest.java:117) [MockitoHint] CompareMatcherTest.matchesOverloadsMustBeIgnored (see javadoc for MockitoHint): [MockitoHint] 1. Unused -> at org.mockitousage.bugs.CompareMatcherTest.matchesOverloadsMustBeIgnored(CompareMatcherTest.java:103) [MockitoHint] CompareMatcherTest.compareNullArgument (see javadoc for MockitoHint): [MockitoHint] 1. Unused -> at org.mockitousage.bugs.CompareMatcherTest.compareNullArgument(CompareMatcherTest.java:41) [INFO] Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.013 s - in org.mockitousage.bugs.CompareMatcherTest [INFO] Running org.mockitousage.bugs.FinalHashCodeAndEqualsRaiseNPEInInitMocksTest [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.011 s - in org.mockitousage.bugs.FinalHashCodeAndEqualsRaiseNPEInInitMocksTest [INFO] Running org.mockitousage.bugs.MockitoRunnerBreaksWhenNoTestMethodsTest [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.005 s - in org.mockitousage.bugs.MockitoRunnerBreaksWhenNoTestMethodsTest [INFO] Running org.mockitousage.bugs.ConcurrentModificationExceptionOnMultiThreadedVerificationTest started 0 [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.012 s - in org.mockitousage.bugs.ConcurrentModificationExceptionOnMultiThreadedVerificationTest [INFO] Running org.mockitousage.bugs.ActualInvocationHasNullArgumentNPEBugTest finished0 [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.005 s - in org.mockitousage.bugs.ActualInvocationHasNullArgumentNPEBugTest [INFO] Running org.mockitousage.bugs.EqualsWithDeltaTest [INFO] Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.001 s - in org.mockitousage.bugs.EqualsWithDeltaTest [INFO] Running org.mockitousage.bugs.MockitoStubbedCallInAnswerTest [INFO] Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.011 s - in org.mockitousage.bugs.MockitoStubbedCallInAnswerTest [INFO] Running org.mockitousage.bugs.BridgeMethodsHitAgainTest [INFO] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.012 s - in org.mockitousage.bugs.BridgeMethodsHitAgainTest [INFO] Running org.mockitousage.bugs.AIOOBExceptionWithAtLeastTest [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.005 s - in org.mockitousage.bugs.AIOOBExceptionWithAtLeastTest [INFO] Running org.mockitousage.bugs.ShouldMocksCompareToBeConsistentWithEqualsTest [INFO] Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.027 s - in org.mockitousage.bugs.ShouldMocksCompareToBeConsistentWithEqualsTest [INFO] Running org.mockitousage.bugs.ListenersLostOnResetMockTest [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.004 s - in org.mockitousage.bugs.ListenersLostOnResetMockTest [INFO] Running org.mockitousage.bugs.DiamondInheritanceIsConfusingMockitoTest [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.005 s - in org.mockitousage.bugs.DiamondInheritanceIsConfusingMockitoTest [INFO] Running org.mockitousage.bugs.NPEWhenMockingThrowablesTest [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.012 s - in org.mockitousage.bugs.NPEWhenMockingThrowablesTest [INFO] Running org.mockitousage.bugs.ShouldOnlyModeAllowCapturingArgumentsTest [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 s - in org.mockitousage.bugs.ShouldOnlyModeAllowCapturingArgumentsTest [INFO] Running org.mockitousage.bugs.NPEOnAnyClassMatcherAutounboxTest [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.003 s - in org.mockitousage.bugs.NPEOnAnyClassMatcherAutounboxTest [INFO] Running org.mockitousage.bugs.GenericsMockitoAnnotationsTest [WARNING] Tests run: 1, Failures: 0, Errors: 0, Skipped: 1, Time elapsed: 0 s - in org.mockitousage.bugs.GenericsMockitoAnnotationsTest [INFO] Running org.mockitousage.bugs.ShouldNotDeadlockAnswerExecutionTest [INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.025 s - in org.mockitousage.bugs.ShouldNotDeadlockAnswerExecutionTest [INFO] Running org.mockitousage.packageprotected.MockingPackageProtectedTest [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.009 s - in org.mockitousage.packageprotected.MockingPackageProtectedTest [INFO] Running org.mockitousage.serialization.DeepStubsSerializableTest [INFO] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.093 s - in org.mockitousage.serialization.DeepStubsSerializableTest [INFO] Running org.mockitousage.serialization.ParallelSerializationTest [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.972 s - in org.mockitousage.serialization.ParallelSerializationTest [INFO] Running org.mockitousage.serialization.StrictStubsSerializableTest [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.009 s - in org.mockitousage.serialization.StrictStubsSerializableTest [INFO] Running org.mockitousage.serialization.AcrossClassLoaderSerializationTest [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.004 s - in org.mockitousage.serialization.AcrossClassLoaderSerializationTest [INFO] Running org.mockitousage.stubbing.StubbingWithCustomAnswerTest [INFO] Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.012 s - in org.mockitousage.stubbing.StubbingWithCustomAnswerTest [INFO] Running org.mockitousage.stubbing.StubbingWarningsTest [INFO] Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.003 s - in org.mockitousage.stubbing.StubbingWarningsTest [INFO] Running org.mockitousage.stubbing.StrictStubbingEndToEndTest [INFO] Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.022 s - in org.mockitousage.stubbing.StrictStubbingEndToEndTest [INFO] Running org.mockitousage.stubbing.BasicStubbingTest [INFO] Tests run: 13, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.008 s - in org.mockitousage.stubbing.BasicStubbingTest [INFO] Running org.mockitousage.stubbing.SmartNullsStubbingTest [INFO] Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.014 s - in org.mockitousage.stubbing.SmartNullsStubbingTest [INFO] Running org.mockitousage.stubbing.StubbingWithThrowablesTest [INFO] Tests run: 27, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.049 s - in org.mockitousage.stubbing.StubbingWithThrowablesTest [INFO] Running org.mockitousage.stubbing.CallingRealMethodTest [INFO] Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.005 s - in org.mockitousage.stubbing.CallingRealMethodTest [INFO] Running org.mockitousage.stubbing.StubbingWithDelegateVarArgsTest [INFO] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.004 s - in org.mockitousage.stubbing.StubbingWithDelegateVarArgsTest [INFO] Running org.mockitousage.stubbing.CloningParameterTest [INFO] Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.006 s - in org.mockitousage.stubbing.CloningParameterTest [INFO] Running org.mockitousage.stubbing.StubbingWithAdditionalAnswersTest [INFO] Tests run: 16, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.514 s - in org.mockitousage.stubbing.StubbingWithAdditionalAnswersTest [INFO] Running org.mockitousage.stubbing.StubbingWithExtraAnswersTest [INFO] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 s - in org.mockitousage.stubbing.StubbingWithExtraAnswersTest [INFO] Running org.mockitousage.stubbing.StubbingConsecutiveAnswersTest [INFO] Tests run: 16, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.007 s - in org.mockitousage.stubbing.StubbingConsecutiveAnswersTest [INFO] Running org.mockitousage.stubbing.StubbingReturnsSelfTest [INFO] Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.019 s - in org.mockitousage.stubbing.StubbingReturnsSelfTest [INFO] Running org.mockitousage.stubbing.StubbingWithBadThrowablesTest [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 s - in org.mockitousage.stubbing.StubbingWithBadThrowablesTest [INFO] Running org.mockitousage.stubbing.MisusingStubbingTest [INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 s - in org.mockitousage.stubbing.MisusingStubbingTest [INFO] Running org.mockitousage.stubbing.ReturningDefaultValuesTest [INFO] Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.006 s - in org.mockitousage.stubbing.ReturningDefaultValuesTest [INFO] Running org.mockitousage.stubbing.StubbingWithDelegateTest [INFO] Tests run: 11, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.007 s - in org.mockitousage.stubbing.StubbingWithDelegateTest [INFO] Running org.mockitousage.stubbing.DeepStubbingTest [INFO] Tests run: 19, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.091 s - in org.mockitousage.stubbing.DeepStubbingTest [INFO] Running org.mockitousage.stubbing.StubbingUsingDoReturnTest [INFO] Tests run: 21, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.078 s - in org.mockitousage.stubbing.StubbingUsingDoReturnTest [INFO] Running org.mockitousage.stubbing.StrictStubbingTest [INFO] Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.002 s - in org.mockitousage.stubbing.StrictStubbingTest [INFO] Running org.mockitousage.stubbing.SmartNullsGenericBugTest [INFO] Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.01 s - in org.mockitousage.stubbing.SmartNullsGenericBugTest [INFO] Running org.mockitousage.strictness.StrictnessWhenRuleStrictnessIsUpdatedTest [INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.001 s - in org.mockitousage.strictness.StrictnessWhenRuleStrictnessIsUpdatedTest [INFO] Running org.mockitousage.strictness.StrictnessPerStubbingTest [INFO] Tests run: 12, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.011 s - in org.mockitousage.strictness.StrictnessPerStubbingTest [INFO] Running org.mockitousage.strictness.PotentialStubbingSensitivityTest [INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 s - in org.mockitousage.strictness.PotentialStubbingSensitivityTest [INFO] Running org.mockitousage.strictness.StrictnessWithRulesTest [INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.001 s - in org.mockitousage.strictness.StrictnessWithRulesTest [INFO] Running org.mockitousage.strictness.StrictnessPerMockTest [INFO] Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.002 s - in org.mockitousage.strictness.StrictnessPerMockTest [INFO] Running org.mockitousage.strictness.LenientMockAnnotationTest [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.001 s - in org.mockitousage.strictness.LenientMockAnnotationTest [INFO] Running org.mockitousage.strictness.StrictnessPerStubbingWithRunnerTest [INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 s - in org.mockitousage.strictness.StrictnessPerStubbingWithRunnerTest [INFO] Running org.mockitousage.PlaygroundWithDemoOfUnclonedParametersProblemTest [INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.02 s - in org.mockitousage.PlaygroundWithDemoOfUnclonedParametersProblemTest [INFO] Running org.mockitousage.constructor.CreatingMocksWithConstructorTest [INFO] Tests run: 27, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.034 s - in org.mockitousage.constructor.CreatingMocksWithConstructorTest [INFO] Running org.mockitousage.internal.junit.UnusedStubbingsFinderTest [INFO] Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.006 s - in org.mockitousage.internal.junit.UnusedStubbingsFinderTest [INFO] Running org.mockitousage.internal.debugging.LocationImplTest [INFO] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 s - in org.mockitousage.internal.debugging.LocationImplTest [INFO] Running org.mockitousage.junitrule.MockitoJUnitRuleTest [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.007 s - in org.mockitousage.junitrule.MockitoJUnitRuleTest [INFO] Running org.mockitousage.junitrule.VerificationCollectorImplTest [INFO] Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.021 s - in org.mockitousage.junitrule.VerificationCollectorImplTest [INFO] Running org.mockitousage.junitrule.RuleTestWithFactoryMethodTest [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.004 s - in org.mockitousage.junitrule.RuleTestWithFactoryMethodTest [INFO] Running org.mockitousage.junitrule.StrictJUnitRuleTest [INFO] Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.005 s - in org.mockitousage.junitrule.StrictJUnitRuleTest [INFO] Running org.mockitousage.junitrule.StubbingWarningsJUnitRuleTest [INFO] Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.005 s - in org.mockitousage.junitrule.StubbingWarningsJUnitRuleTest [INFO] Running org.mockitousage.junitrule.InvalidTargetMockitoJUnitRuleTest [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.002 s - in org.mockitousage.junitrule.InvalidTargetMockitoJUnitRuleTest [INFO] Running org.mockitousage.junitrule.StubbingWarningsMultiThreadingTest [INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.002 s - in org.mockitousage.junitrule.StubbingWarningsMultiThreadingTest [INFO] Running org.mockitousage.junitrule.LenientJUnitRuleTest [INFO] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 s - in org.mockitousage.junitrule.LenientJUnitRuleTest [INFO] Running org.mockitousage.junitrule.MutableStrictJUnitRuleTest [INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.001 s - in org.mockitousage.junitrule.MutableStrictJUnitRuleTest [INFO] Running org.mockitousage.junitrule.RuleTestWithParameterConstructorTest [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.003 s - in org.mockitousage.junitrule.RuleTestWithParameterConstructorTest [INFO] Running org.mockitousage.examples.use.ExampleTest [INFO] Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.011 s - in org.mockitousage.examples.use.ExampleTest [INFO] Running org.mockitousage.puzzlers.BridgeMethodPuzzleTest [INFO] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.003 s - in org.mockitousage.puzzlers.BridgeMethodPuzzleTest [INFO] Running org.mockitousage.puzzlers.OverloadingPuzzleTest [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.002 s - in org.mockitousage.puzzlers.OverloadingPuzzleTest [INFO] Running org.mockitousage.plugins.MockitoPluginsTest [INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.96 s - in org.mockitousage.plugins.MockitoPluginsTest [INFO] Running org.mockitousage.CompilationWarningsTest [INFO] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.001 s - in org.mockitousage.CompilationWarningsTest [INFO] Running org.mockitousage.junitrunner.DeepStubbingWithJUnitRunnerTest [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 s - in org.mockitousage.junitrunner.DeepStubbingWithJUnitRunnerTest [INFO] Running org.mockitousage.junitrunner.VerboseMockitoRunnerTest [WARNING] Tests run: 2, Failures: 0, Errors: 0, Skipped: 2, Time elapsed: 0 s - in org.mockitousage.junitrunner.VerboseMockitoRunnerTest [INFO] Running org.mockitousage.junitrunner.JUnit45RunnerTest [INFO] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.001 s - in org.mockitousage.junitrunner.JUnit45RunnerTest [INFO] Running org.mockitousage.junitrunner.UnusedStubsExceptionMessageTest [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 s - in org.mockitousage.junitrunner.UnusedStubsExceptionMessageTest [INFO] Running org.mockitousage.junitrunner.SilentRunnerTest [INFO] Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 s - in org.mockitousage.junitrunner.SilentRunnerTest [INFO] Running org.mockitousage.junitrunner.ModellingVerboseMockitoTest [WARNING] Tests run: 1, Failures: 0, Errors: 0, Skipped: 1, Time elapsed: 0 s - in org.mockitousage.junitrunner.ModellingVerboseMockitoTest [INFO] Running org.mockitousage.junitrunner.StrictStubsRunnerTest [INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 s - in org.mockitousage.junitrunner.StrictStubsRunnerTest [INFO] Running org.mockitousage.junitrunner.StrictRunnerTest [INFO] Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 s - in org.mockitousage.junitrunner.StrictRunnerTest [INFO] Running org.mockitousage.junitrunner.StubbingWarningsJUnitRunnerTest [INFO] Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 s - in org.mockitousage.junitrunner.StubbingWarningsJUnitRunnerTest [INFO] Running org.mockitousage.annotation.SpyAnnotationInitializedInBaseClassTest [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 s - in org.mockitousage.annotation.SpyAnnotationInitializedInBaseClassTest [INFO] Running org.mockitousage.annotation.SpyAnnotationTest [INFO] Tests run: 15, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 s - in org.mockitousage.annotation.SpyAnnotationTest [INFO] Running org.mockitousage.annotation.WrongSetOfAnnotationsTest [INFO] Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.001 s - in org.mockitousage.annotation.WrongSetOfAnnotationsTest [INFO] Running org.mockitousage.annotation.CaptorAnnotationTest [INFO] Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 s - in org.mockitousage.annotation.CaptorAnnotationTest [INFO] Running org.mockitousage.annotation.SpyInjectionTest [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.001 s - in org.mockitousage.annotation.SpyInjectionTest [INFO] Running org.mockitousage.annotation.CaptorAnnotationBasicTest [INFO] Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 s - in org.mockitousage.annotation.CaptorAnnotationBasicTest [INFO] Running org.mockitousage.annotation.DeprecatedAnnotationEngineApiTest [INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 s - in org.mockitousage.annotation.DeprecatedAnnotationEngineApiTest [INFO] Running org.mockitousage.annotation.InjectionOfInlinedMockDeclarationTest [INFO] Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 s - in org.mockitousage.annotation.InjectionOfInlinedMockDeclarationTest [INFO] Running org.mockitousage.annotation.MockInjectionUsingConstructorIssue421Test [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 s - in org.mockitousage.annotation.MockInjectionUsingConstructorIssue421Test [INFO] Running org.mockitousage.annotation.MockInjectionUsingSetterOrPropertyTest [INFO] Tests run: 13, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 s - in org.mockitousage.annotation.MockInjectionUsingSetterOrPropertyTest [INFO] Running org.mockitousage.annotation.AnnotationsTest [INFO] Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 s - in org.mockitousage.annotation.AnnotationsTest [INFO] Running org.mockitousage.annotation.CaptorAnnotationUnhappyPathTest [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.001 s - in org.mockitousage.annotation.CaptorAnnotationUnhappyPathTest [INFO] Running org.mockitousage.annotation.MockInjectionUsingConstructorTest ... Time: 0.001 OK (3 tests) [INFO] Tests run: 12, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 s - in org.mockitousage.annotation.MockInjectionUsingConstructorTest [INFO] Running org.mockitousage.performance.LoadsOfMocksTest [WARNING] Tests run: 1, Failures: 0, Errors: 0, Skipped: 1, Time elapsed: 0 s - in org.mockitousage.performance.LoadsOfMocksTest [INFO] Running org.mockitousage.performance.StubOnlyAvoidMemoryConsumptionTest [WARNING] Tests run: 2, Failures: 0, Errors: 0, Skipped: 1, Time elapsed: 10.388 s - in org.mockitousage.performance.StubOnlyAvoidMemoryConsumptionTest [INFO] Running org.mockitousage.matchers.VerificationAndStubbingUsingMatchersTest [INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.002 s - in org.mockitousage.matchers.VerificationAndStubbingUsingMatchersTest [INFO] Running org.mockitousage.matchers.CustomMatcherDoesYieldCCETest [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 s - in org.mockitousage.matchers.CustomMatcherDoesYieldCCETest [INFO] Running org.mockitousage.matchers.CustomMatchersTest [INFO] Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.004 s - in org.mockitousage.matchers.CustomMatchersTest [INFO] Running org.mockitousage.matchers.InvalidUseOfMatchersTest org.mockito.exceptions.misusing.InvalidUseOfMatchersException: Misplaced or misused argument matcher detected here: -> at org.mockitousage.matchers.InvalidUseOfMatchersTest.should_detect_stupid_use_of_matchers_when_verifying(InvalidUseOfMatchersTest.java:47) -> at org.mockitousage.matchers.InvalidUseOfMatchersTest.should_detect_stupid_use_of_matchers_when_verifying(InvalidUseOfMatchersTest.java:48) You cannot use argument matchers outside of verification or stubbing. Examples of correct usage of argument matchers: when(mock.get(anyInt())).thenReturn(null); doThrow(new RuntimeException()).when(mock).someVoidMethod(anyObject()); verify(mock).someMethod(contains("foo")) This message may appear after an NullPointerException if the last matcher is returning an object like any() but the stubbed method signature expect a primitive argument, in this case, use primitive alternatives. when(mock.get(any())); // bad use, will raise NPE when(mock.get(anyInt())); // correct usage use Also, this error might show up because you use argument matchers with methods that cannot be mocked. Following methods *cannot* be stubbed/verified: final/private/equals()/hashCode(). Mocking methods declared on non-public parent classes is not supported. at org.mockito.internal.exceptions.Reporter.misplacedArgumentMatcher(Reporter.java:558) at org.mockito.internal.progress.ArgumentMatcherStorageImpl.validateState(ArgumentMatcherStorageImpl.java:69) at org.mockito.internal.progress.MockingProgressImpl.validateMostStuff(MockingProgressImpl.java:127) at org.mockito.internal.progress.MockingProgressImpl.validateState(MockingProgressImpl.java:106) at org.mockito.internal.progress.MockingProgressImpl.verificationStarted(MockingProgressImpl.java:78) at org.mockito.internal.MockitoCore.verify(MockitoCore.java:95) at org.mockito.Mockito.verify(Mockito.java:2125) at org.mockitousage.matchers.InvalidUseOfMatchersTest.should_detect_stupid_use_of_matchers_when_verifying(InvalidUseOfMatchersTest.java:50) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:566) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:52) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.mockito.internal.runners.DefaultInternalRunner$1$1.evaluate(DefaultInternalRunner.java:44) at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) at org.junit.runners.ParentRunner.run(ParentRunner.java:363) at org.mockito.internal.runners.DefaultInternalRunner$1.run(DefaultInternalRunner.java:74) at org.mockito.internal.runners.DefaultInternalRunner.run(DefaultInternalRunner.java:80) at org.mockito.junit.MockitoJUnitRunner.run(MockitoJUnitRunner.java:163) at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365) at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:273) at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238) at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159) at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384) at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345) at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418) [INFO] Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.008 s - in org.mockitousage.matchers.InvalidUseOfMatchersTest [INFO] Running org.mockitousage.matchers.VarargsTest [MockitoHint] VarargsTest.shouldNotMatchVaraArgs (see javadoc for MockitoHint): [MockitoHint] 1. Unused -> at org.mockitousage.matchers.VarargsTest.shouldNotMatchVaraArgs(VarargsTest.java:337) [WARNING] Tests run: 33, Failures: 0, Errors: 0, Skipped: 5, Time elapsed: 0.011 s - in org.mockitousage.matchers.VarargsTest [INFO] Running org.mockitousage.matchers.MatchersTest [INFO] Tests run: 36, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.02 s - in org.mockitousage.matchers.MatchersTest [INFO] Running org.mockitousage.matchers.ReflectionMatchersTest [INFO] Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.006 s - in org.mockitousage.matchers.ReflectionMatchersTest [INFO] Running org.mockitousage.matchers.MoreMatchersTest [INFO] Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.003 s - in org.mockitousage.matchers.MoreMatchersTest [INFO] Running org.mockitousage.matchers.HamcrestMatchersTest [INFO] Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.006 s - in org.mockitousage.matchers.HamcrestMatchersTest [INFO] Running org.mockitousage.matchers.NewMatchersTest [INFO] Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.001 s - in org.mockitousage.matchers.NewMatchersTest [INFO] Running org.mockitousage.matchers.MatchersMixedWithRawArgumentsTest [WARNING] Tests run: 1, Failures: 0, Errors: 0, Skipped: 1, Time elapsed: 0.001 s - in org.mockitousage.matchers.MatchersMixedWithRawArgumentsTest [INFO] Running org.mockitousage.matchers.CapturingArgumentsTest [INFO] Tests run: 20, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.007 s - in org.mockitousage.matchers.CapturingArgumentsTest [INFO] Running org.mockitousage.matchers.AnyXMatchersAcceptNullsTest [INFO] Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 s - in org.mockitousage.matchers.AnyXMatchersAcceptNullsTest [INFO] Running org.mockitousage.matchers.GenericMatchersTest [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.006 s - in org.mockitousage.matchers.GenericMatchersTest [INFO] Running org.mockitousage.customization.BDDMockitoTest [INFO] Tests run: 34, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.025 s - in org.mockitousage.customization.BDDMockitoTest [INFO] Running org.mockitousage.debugging.VerboseLoggingOfInvocationsOnMockTest [INFO] Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.016 s - in org.mockitousage.debugging.VerboseLoggingOfInvocationsOnMockTest [INFO] Running org.mockitousage.debugging.VerificationListenerCallBackTest [INFO] Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.01 s - in org.mockitousage.debugging.VerificationListenerCallBackTest [INFO] Running org.mockitousage.debugging.StubbingLookupListenerCallbackTest [INFO] Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.026 s - in org.mockitousage.debugging.StubbingLookupListenerCallbackTest [INFO] Running org.mockitousage.debugging.InvocationsPrinterTest [INFO] Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.003 s - in org.mockitousage.debugging.InvocationsPrinterTest [INFO] Running org.mockitousage.debugging.InvocationListenerCallbackTest [INFO] Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.002 s - in org.mockitousage.debugging.InvocationListenerCallbackTest [INFO] Running org.mockitousage.spies.SpyingOnRealObjectsTest [INFO] Tests run: 14, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.014 s - in org.mockitousage.spies.SpyingOnRealObjectsTest [INFO] Running org.mockitousage.spies.SpyingOnInterfacesTest [INFO] Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.017 s - in org.mockitousage.spies.SpyingOnInterfacesTest [INFO] Running org.mockitousage.spies.PartialMockingWithSpiesTest [INFO] Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.011 s - in org.mockitousage.spies.PartialMockingWithSpiesTest [INFO] Running org.mockitousage.spies.StubbingSpiesDoesNotYieldNPETest [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.008 s - in org.mockitousage.spies.StubbingSpiesDoesNotYieldNPETest [INFO] Running org.mockitousage.basicapi.MockAccessTest [INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 s - in org.mockitousage.basicapi.MockAccessTest [INFO] Running org.mockitousage.basicapi.ResetInvocationsTest [INFO] Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 s - in org.mockitousage.basicapi.ResetInvocationsTest [INFO] Running org.mockitousage.basicapi.UsingVarargsTest [INFO] Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.018 s - in org.mockitousage.basicapi.UsingVarargsTest [INFO] Running org.mockitousage.basicapi.MocksCreationTest [INFO] Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.003 s - in org.mockitousage.basicapi.MocksCreationTest [INFO] Running org.mockitousage.basicapi.MockingMultipleInterfacesTest [INFO] Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.006 s - in org.mockitousage.basicapi.MockingMultipleInterfacesTest [INFO] Running org.mockitousage.basicapi.MocksSerializationForAnnotationTest [INFO] Tests run: 20, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.091 s - in org.mockitousage.basicapi.MocksSerializationForAnnotationTest [INFO] Running org.mockitousage.basicapi.ResetTest [INFO] Tests run: 13, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.002 s - in org.mockitousage.basicapi.ResetTest [INFO] Running org.mockitousage.basicapi.ObjectsSerializationTest [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.001 s - in org.mockitousage.basicapi.ObjectsSerializationTest [INFO] Running org.mockitousage.basicapi.MocksSerializationTest [INFO] Tests run: 23, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.083 s - in org.mockitousage.basicapi.MocksSerializationTest [INFO] Running org.mockitousage.basicapi.ReplacingObjectMethodsTest [INFO] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.009 s - in org.mockitousage.basicapi.ReplacingObjectMethodsTest [INFO] Running org.mockitousage.configuration.ClassCacheVersusClassReloadingTest [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.029 s - in org.mockitousage.configuration.ClassCacheVersusClassReloadingTest [INFO] Running org.mockitousage.configuration.CustomizedAnnotationForSmartMockTest [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 s - in org.mockitousage.configuration.CustomizedAnnotationForSmartMockTest [INFO] Running org.mockitousage.stacktrace.StackTraceFilteringTest [INFO] Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.002 s - in org.mockitousage.stacktrace.StackTraceFilteringTest [INFO] Running org.mockitousage.stacktrace.ClickableStackTracesTest [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.001 s - in org.mockitousage.stacktrace.ClickableStackTracesTest [INFO] Running org.mockitousage.stacktrace.PointingStackTraceToActualInvocationChunkInOrderTest [INFO] Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.003 s - in org.mockitousage.stacktrace.PointingStackTraceToActualInvocationChunkInOrderTest [INFO] Running org.mockitousage.stacktrace.ClickableStackTracesWhenFrameworkMisusedTest [INFO] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 s - in org.mockitousage.stacktrace.ClickableStackTracesWhenFrameworkMisusedTest [INFO] Running org.mockitousage.stacktrace.PointingStackTraceToActualInvocationTest [INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 s - in org.mockitousage.stacktrace.PointingStackTraceToActualInvocationTest [INFO] Running org.mockitousage.stacktrace.PointingStackTraceToActualInvocationInOrderTest [INFO] Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.003 s - in org.mockitousage.stacktrace.PointingStackTraceToActualInvocationInOrderTest [INFO] Running org.mockitousage.stacktrace.ModellingDescriptiveMessagesTest [WARNING] Tests run: 1, Failures: 0, Errors: 0, Skipped: 1, Time elapsed: 0 s - in org.mockitousage.stacktrace.ModellingDescriptiveMessagesTest [INFO] Running org.mockitousage.session.MockitoSessionTest [INFO] Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.005 s - in org.mockitousage.session.MockitoSessionTest [INFO] Running org.mockitousage.misuse.SpyStubbingMisuseTest [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.006 s - in org.mockitousage.misuse.SpyStubbingMisuseTest [INFO] Running org.mockitousage.misuse.DescriptiveMessagesOnMisuseTest [INFO] Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.003 s - in org.mockitousage.misuse.DescriptiveMessagesOnMisuseTest [INFO] Running org.mockitousage.misuse.InvalidUsageTest [INFO] Tests run: 16, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.007 s - in org.mockitousage.misuse.InvalidUsageTest [INFO] Running org.mockitousage.misuse.CleaningUpPotentialStubbingTest [INFO] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 s - in org.mockitousage.misuse.CleaningUpPotentialStubbingTest [INFO] Running org.mockitousage.misuse.RestrictedObjectMethodsTest [INFO] Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 s - in org.mockitousage.misuse.RestrictedObjectMethodsTest [INFO] Running org.mockitousage.misuse.DetectingFinalMethodsTest [INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.003 s - in org.mockitousage.misuse.DetectingFinalMethodsTest [INFO] Running org.mockitousage.misuse.DetectingMisusedMatchersTest [INFO] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.005 s - in org.mockitousage.misuse.DetectingMisusedMatchersTest [INFO] Running org.mockitousage.misuse.ExplicitFrameworkValidationTest [INFO] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 s - in org.mockitousage.misuse.ExplicitFrameworkValidationTest [INFO] Running org.mockitousage.verification.AtMostXVerificationTest [INFO] Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.002 s - in org.mockitousage.verification.AtMostXVerificationTest [INFO] Running org.mockitousage.verification.DescriptiveMessagesWhenVerificationFailsTest [WARNING] Tests run: 24, Failures: 0, Errors: 0, Skipped: 3, Time elapsed: 0.011 s - in org.mockitousage.verification.DescriptiveMessagesWhenVerificationFailsTest [INFO] Running org.mockitousage.verification.FindingRedundantInvocationsInOrderTest [INFO] Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.001 s - in org.mockitousage.verification.FindingRedundantInvocationsInOrderTest [INFO] Running org.mockitousage.verification.RelaxedVerificationInOrderTest [INFO] Tests run: 27, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.012 s - in org.mockitousage.verification.RelaxedVerificationInOrderTest [INFO] Running org.mockitousage.verification.PrintingVerboseTypesWithArgumentsTest [INFO] Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.005 s - in org.mockitousage.verification.PrintingVerboseTypesWithArgumentsTest [INFO] Running org.mockitousage.verification.VerificationWithAfterTest [AsyncTesting] Starting thread that will execute the runnable after 50 millis. Threads so far: 0 [AsyncTesting] Interrupting and waiting for 1 threads to complete... [AsyncTesting] Starting thread that will execute the runnable after 10 millis. Threads so far: 0 [AsyncTesting] Starting thread that will execute the runnable after 50 millis. Threads so far: 1 [AsyncTesting] Interrupting and waiting for 2 threads to complete... [AsyncTesting] Starting thread that will execute the runnable after 10 millis. Threads so far: 0 [AsyncTesting] Starting thread that will execute the runnable after 1000 millis. Threads so far: 1 [AsyncTesting] Interrupting and waiting for 2 threads to complete... [AsyncTesting] Starting thread that will execute the runnable after 500 millis. Threads so far: 0 [AsyncTesting] Interrupting and waiting for 1 threads to complete... [AsyncTesting] Starting thread that will execute the runnable after 10 millis. Threads so far: 0 [AsyncTesting] Starting thread that will execute the runnable after 600 millis. Threads so far: 1 [AsyncTesting] Interrupting and waiting for 2 threads to complete... [AsyncTesting] Starting thread that will execute the runnable after 10 millis. Threads so far: 0 [AsyncTesting] Starting thread that will execute the runnable after 50 millis. Threads so far: 1 [AsyncTesting] Interrupting and waiting for 2 threads to complete... [AsyncTesting] Starting thread that will execute the runnable after 10 millis. Threads so far: 0 [AsyncTesting] Interrupting and waiting for 1 threads to complete... [AsyncTesting] Starting thread that will execute the runnable after 10 millis. Threads so far: 0 [AsyncTesting] Starting thread that will execute the runnable after 50 millis. Threads so far: 1 [AsyncTesting] Starting thread that will execute the runnable after 600 millis. Threads so far: 2 [AsyncTesting] Interrupting and waiting for 3 threads to complete... [AsyncTesting] Starting thread that will execute the runnable after 10 millis. Threads so far: 0 [AsyncTesting] Starting thread that will execute the runnable after 50 millis. Threads so far: 1 [AsyncTesting] Starting thread that will execute the runnable after 600 millis. Threads so far: 2 [AsyncTesting] Interrupting and waiting for 3 threads to complete... [AsyncTesting] Starting thread that will execute the runnable after 10 millis. Threads so far: 0 [AsyncTesting] Starting thread that will execute the runnable after 40 millis. Threads so far: 1 [AsyncTesting] Starting thread that will execute the runnable after 80 millis. Threads so far: 2 [AsyncTesting] Interrupting and waiting for 3 threads to complete... [AsyncTesting] Starting thread that will execute the runnable after 10 millis. Threads so far: 0 [AsyncTesting] Starting thread that will execute the runnable after 40 millis. Threads so far: 1 [AsyncTesting] Interrupting and waiting for 2 threads to complete... [AsyncTesting] Starting thread that will execute the runnable after 10 millis. Threads so far: 0 [AsyncTesting] Starting thread that will execute the runnable after 50 millis. Threads so far: 1 [AsyncTesting] Starting thread that will execute the runnable after 600 millis. Threads so far: 2 [AsyncTesting] Interrupting and waiting for 3 threads to complete... [AsyncTesting] Starting thread that will execute the runnable after 50 millis. Threads so far: 0 [AsyncTesting] Starting thread that will execute the runnable after 100 millis. Threads so far: 1 [AsyncTesting] Interrupting and waiting for 2 threads to complete... [AsyncTesting] Starting thread that will execute the runnable after 10 millis. Threads so far: 0 [AsyncTesting] Starting thread that will execute the runnable after 50 millis. Threads so far: 1 [AsyncTesting] Starting thread that will execute the runnable after 600 millis. Threads so far: 2 [AsyncTesting] Interrupting and waiting for 3 threads to complete... [WARNING] Tests run: 16, Failures: 0, Errors: 0, Skipped: 2, Time elapsed: 3.289 s - in org.mockitousage.verification.VerificationWithAfterTest [INFO] Running org.mockitousage.verification.VerificationOnMultipleMocksUsingMatchersTest [INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 s - in org.mockitousage.verification.VerificationOnMultipleMocksUsingMatchersTest [INFO] Running org.mockitousage.verification.CustomVerificationTest [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 s - in org.mockitousage.verification.CustomVerificationTest [INFO] Running org.mockitousage.verification.BasicVerificationInOrderTest [INFO] Tests run: 24, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.013 s - in org.mockitousage.verification.BasicVerificationInOrderTest [INFO] Running org.mockitousage.verification.VerificationInOrderMixedWithOrdiraryVerificationTest [INFO] Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.004 s - in org.mockitousage.verification.VerificationInOrderMixedWithOrdiraryVerificationTest [INFO] Running org.mockitousage.verification.OnlyVerificationTest [INFO] Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.001 s - in org.mockitousage.verification.OnlyVerificationTest [INFO] Running org.mockitousage.verification.VerificationInOrderTest [INFO] Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.001 s - in org.mockitousage.verification.VerificationInOrderTest [INFO] Running org.mockitousage.verification.SelectedMocksInOrderVerificationTest [INFO] Tests run: 15, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.006 s - in org.mockitousage.verification.SelectedMocksInOrderVerificationTest [INFO] Running org.mockitousage.verification.VerificationInOrderWithCallsTest [INFO] Tests run: 25, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.011 s - in org.mockitousage.verification.VerificationInOrderWithCallsTest [INFO] Running org.mockitousage.verification.DescriptiveMessagesOnVerificationInOrderErrorsTest [INFO] Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.003 s - in org.mockitousage.verification.DescriptiveMessagesOnVerificationInOrderErrorsTest [INFO] Running org.mockitousage.verification.OrdinaryVerificationPrintsAllInteractionsTest [INFO] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 s - in org.mockitousage.verification.OrdinaryVerificationPrintsAllInteractionsTest [INFO] Running org.mockitousage.verification.DescriptiveMessagesWhenTimesXVerificationFailsTest [INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 s - in org.mockitousage.verification.DescriptiveMessagesWhenTimesXVerificationFailsTest [INFO] Running org.mockitousage.verification.VerificationInOrderWithTimeoutTest [AsyncTesting] Starting thread that will execute the runnable after 20 millis. Threads so far: 0 [AsyncTesting] Starting thread that will execute the runnable after 50 millis. Threads so far: 1 [AsyncTesting] Starting thread that will execute the runnable after 100 millis. Threads so far: 2 [AsyncTesting] Starting thread that will execute the runnable after 120 millis. Threads so far: 3 [AsyncTesting] Interrupting and waiting for 4 threads to complete... [AsyncTesting] Starting thread that will execute the runnable after 20 millis. Threads so far: 0 [AsyncTesting] Starting thread that will execute the runnable after 50 millis. Threads so far: 1 [AsyncTesting] Starting thread that will execute the runnable after 100 millis. Threads so far: 2 [AsyncTesting] Starting thread that will execute the runnable after 120 millis. Threads so far: 3 [AsyncTesting] Interrupting and waiting for 4 threads to complete... [AsyncTesting] Interrupting and waiting for 0 threads to complete... [AsyncTesting] Starting thread that will execute the runnable after 20 millis. Threads so far: 0 [AsyncTesting] Starting thread that will execute the runnable after 100 millis. Threads so far: 1 [AsyncTesting] Interrupting and waiting for 2 threads to complete... [AsyncTesting] Starting thread that will execute the runnable after 20 millis. Threads so far: 0 [AsyncTesting] Starting thread that will execute the runnable after 50 millis. Threads so far: 1 [AsyncTesting] Starting thread that will execute the runnable after 100 millis. Threads so far: 2 [AsyncTesting] Starting thread that will execute the runnable after 120 millis. Threads so far: 3 [AsyncTesting] Interrupting and waiting for 4 threads to complete... [AsyncTesting] Starting thread that will execute the runnable after 20 millis. Threads so far: 0 [AsyncTesting] Starting thread that will execute the runnable after 50 millis. Threads so far: 1 [AsyncTesting] Starting thread that will execute the runnable after 200 millis. Threads so far: 2 [AsyncTesting] Starting thread that will execute the runnable after 250 millis. Threads so far: 3 [AsyncTesting] Interrupting and waiting for 4 threads to complete... [AsyncTesting] Starting thread that will execute the runnable after 20 millis. Threads so far: 0 [AsyncTesting] Starting thread that will execute the runnable after 50 millis. Threads so far: 1 [AsyncTesting] Starting thread that will execute the runnable after 200 millis. Threads so far: 2 [AsyncTesting] Interrupting and waiting for 3 threads to complete... [AsyncTesting] Starting thread that will execute the runnable after 20 millis. Threads so far: 0 [AsyncTesting] Starting thread that will execute the runnable after 50 millis. Threads so far: 1 [AsyncTesting] Starting thread that will execute the runnable after 200 millis. Threads so far: 2 [AsyncTesting] Starting thread that will execute the runnable after 250 millis. Threads so far: 3 [AsyncTesting] Interrupting and waiting for 4 threads to complete... [AsyncTesting] Interrupting and waiting for 0 threads to complete... [AsyncTesting] Starting thread that will execute the runnable after 20 millis. Threads so far: 0 [AsyncTesting] Starting thread that will execute the runnable after 50 millis. Threads so far: 1 [AsyncTesting] Starting thread that will execute the runnable after 100 millis. Threads so far: 2 [AsyncTesting] Starting thread that will execute the runnable after 120 millis. Threads so far: 3 [AsyncTesting] Interrupting and waiting for 4 threads to complete... [INFO] Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.74 s - in org.mockitousage.verification.VerificationInOrderWithTimeoutTest [INFO] Running org.mockitousage.verification.AtLeastXVerificationTest [INFO] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.001 s - in org.mockitousage.verification.AtLeastXVerificationTest [INFO] Running org.mockitousage.verification.VerificationStartedListenerTest [INFO] Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.005 s - in org.mockitousage.verification.VerificationStartedListenerTest [INFO] Running org.mockitousage.verification.ExactNumberOfTimesVerificationTest [INFO] Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.002 s - in org.mockitousage.verification.ExactNumberOfTimesVerificationTest [INFO] Running org.mockitousage.verification.VerificationWithAfterAndCaptorTest [WARNING] Tests run: 3, Failures: 0, Errors: 0, Skipped: 2, Time elapsed: 0.201 s - in org.mockitousage.verification.VerificationWithAfterAndCaptorTest [INFO] Running org.mockitousage.verification.VerificationUsingMatchersTest [INFO] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.002 s - in org.mockitousage.verification.VerificationUsingMatchersTest [INFO] Running org.mockitousage.verification.VerifyPrintsAllInvocationsOnErrorTest [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.003 s - in org.mockitousage.verification.VerifyPrintsAllInvocationsOnErrorTest [INFO] Running org.mockitousage.verification.NoMoreInteractionsVerificationTest [INFO] Tests run: 11, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.003 s - in org.mockitousage.verification.NoMoreInteractionsVerificationTest [INFO] Running org.mockitousage.verification.VerificationWithTimeoutTest [AsyncTesting] Starting thread that will execute the runnable after 10 millis. Threads so far: 0 [AsyncTesting] Starting thread that will execute the runnable after 200 millis. Threads so far: 1 [AsyncTesting] Interrupting and waiting for 2 threads to complete... [AsyncTesting] Starting thread that will execute the runnable after 10 millis. Threads so far: 0 [AsyncTesting] Starting thread that will execute the runnable after 300 millis. Threads so far: 1 [AsyncTesting] Interrupting and waiting for 2 threads to complete... [AsyncTesting] Starting thread that will execute the runnable after 10 millis. Threads so far: 0 [AsyncTesting] Starting thread that will execute the runnable after 50 millis. Threads so far: 1 [AsyncTesting] Interrupting and waiting for 2 threads to complete... [AsyncTesting] Starting thread that will execute the runnable after 50 millis. Threads so far: 0 [AsyncTesting] Starting thread that will execute the runnable after 500 millis. Threads so far: 1 [AsyncTesting] Interrupting and waiting for 2 threads to complete... [AsyncTesting] Starting thread that will execute the runnable after 50 millis. Threads so far: 0 [AsyncTesting] Starting thread that will execute the runnable after 100 millis. Threads so far: 1 [AsyncTesting] Starting thread that will execute the runnable after 600 millis. Threads so far: 2 [AsyncTesting] Interrupting and waiting for 3 threads to complete... [AsyncTesting] Starting thread that will execute the runnable after 200 millis. Threads so far: 0 [AsyncTesting] Interrupting and waiting for 1 threads to complete... [AsyncTesting] Starting thread that will execute the runnable after 10 millis. Threads so far: 0 [AsyncTesting] Starting thread that will execute the runnable after 50 millis. Threads so far: 1 [AsyncTesting] Interrupting and waiting for 2 threads to complete... [AsyncTesting] Starting thread that will execute the runnable after 10 millis. Threads so far: 0 [AsyncTesting] Starting thread that will execute the runnable after 50 millis. Threads so far: 1 [AsyncTesting] Interrupting and waiting for 2 threads to complete... [WARNING] Tests run: 11, Failures: 0, Errors: 0, Skipped: 3, Time elapsed: 0.484 s - in org.mockitousage.verification.VerificationWithTimeoutTest [INFO] Running org.mockitousage.verification.BasicVerificationTest [INFO] Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.002 s - in org.mockitousage.verification.BasicVerificationTest [INFO] Running org.mockitousage.verification.VerificationExcludingStubsTest [INFO] Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.001 s - in org.mockitousage.verification.VerificationExcludingStubsTest [INFO] Running org.mockitousage.PlaygroundTest [INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 s - in org.mockitousage.PlaygroundTest [INFO] Running org.mockitousage.jls.JLS_15_12_2_5Test [WARNING] Tests run: 13, Failures: 0, Errors: 0, Skipped: 8, Time elapsed: 0.01 s - in org.mockitousage.jls.JLS_15_12_2_5Test [INFO] Running org.mockito.internal.InvalidStateDetectionTest [INFO] Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.003 s - in org.mockito.internal.InvalidStateDetectionTest [INFO] Running org.mockito.internal.listeners.VerificationStartedNotifierTest [INFO] Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.026 s - in org.mockito.internal.listeners.VerificationStartedNotifierTest [INFO] Running org.mockito.internal.listeners.StubbingLookupNotifierTest [INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.031 s - in org.mockito.internal.listeners.StubbingLookupNotifierTest [INFO] Running org.mockito.internal.stubbing.defaultanswers.ReturnsSmartNullsTest [INFO] Tests run: 20, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.042 s - in org.mockito.internal.stubbing.defaultanswers.ReturnsSmartNullsTest [INFO] Running org.mockito.internal.stubbing.defaultanswers.ReturnsGenericDeepStubsTest [INFO] Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.099 s - in org.mockito.internal.stubbing.defaultanswers.ReturnsGenericDeepStubsTest [INFO] Running org.mockito.internal.stubbing.defaultanswers.ReturnsEmptyValuesTest [INFO] Tests run: 13, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.05 s - in org.mockito.internal.stubbing.defaultanswers.ReturnsEmptyValuesTest [INFO] Running org.mockito.internal.stubbing.defaultanswers.ReturnsMoreEmptyValuesTest [INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 s - in org.mockito.internal.stubbing.defaultanswers.ReturnsMoreEmptyValuesTest [INFO] Running org.mockito.internal.stubbing.defaultanswers.ReturnsMocksTest [INFO] Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.012 s - in org.mockito.internal.stubbing.defaultanswers.ReturnsMocksTest [INFO] Running org.mockito.internal.stubbing.defaultanswers.ForwardsInvocationsTest [INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.002 s - in org.mockito.internal.stubbing.defaultanswers.ForwardsInvocationsTest [INFO] Running org.mockito.internal.stubbing.InvocationContainerImplStubbingTest [INFO] Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.002 s - in org.mockito.internal.stubbing.InvocationContainerImplStubbingTest [INFO] Running org.mockito.internal.stubbing.InvocationContainerImplTest [INFO] Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.068 s - in org.mockito.internal.stubbing.InvocationContainerImplTest [INFO] Running org.mockito.internal.stubbing.answers.DefaultAnswerValidatorTest [INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.001 s - in org.mockito.internal.stubbing.answers.DefaultAnswerValidatorTest [INFO] Running org.mockito.internal.stubbing.answers.CallsRealMethodsTest [INFO] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 s - in org.mockito.internal.stubbing.answers.CallsRealMethodsTest [INFO] Running org.mockito.internal.stubbing.answers.ReturnsArgumentAtTest [INFO] Tests run: 13, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.003 s - in org.mockito.internal.stubbing.answers.ReturnsArgumentAtTest [INFO] Running org.mockito.internal.stubbing.answers.ThrowsExceptionTest java.lang.Exception at org.mockito.internal.stubbing.answers.ThrowsException.answer(ThrowsException.java:43) at org.mockito.internal.stubbing.answers.ThrowsExceptionTest.should_fill_in_exception_stacktrace(ThrowsExceptionTest.java:51) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:566) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:52) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) at org.junit.runners.ParentRunner.run(ParentRunner.java:363) at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365) at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:273) at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238) at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159) at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384) at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345) at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418) [INFO] Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.013 s - in org.mockito.internal.stubbing.answers.ThrowsExceptionTest [INFO] Running org.mockito.internal.stubbing.answers.DoesNothingTest [INFO] Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.004 s - in org.mockito.internal.stubbing.answers.DoesNothingTest [INFO] Running org.mockito.internal.stubbing.answers.AnswersWithDelayTest [INFO] Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.502 s - in org.mockito.internal.stubbing.answers.AnswersWithDelayTest [INFO] Running org.mockito.internal.stubbing.answers.InvocationInfoTest [INFO] Tests run: 11, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.002 s - in org.mockito.internal.stubbing.answers.InvocationInfoTest [INFO] Running org.mockito.internal.stubbing.answers.ReturnsTest [INFO] Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.001 s - in org.mockito.internal.stubbing.answers.ReturnsTest [INFO] Running org.mockito.internal.reporting.PluralizerTest [INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 s - in org.mockito.internal.reporting.PluralizerTest [INFO] Running org.mockito.internal.framework.DefaultMockitoFrameworkTest [WARNING] Tests run: 10, Failures: 0, Errors: 0, Skipped: 2, Time elapsed: 0.005 s - in org.mockito.internal.framework.DefaultMockitoFrameworkTest [INFO] Running org.mockito.internal.invocation.SerializableMethodTest [INFO] Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.001 s - in org.mockito.internal.invocation.SerializableMethodTest [INFO] Running org.mockito.internal.invocation.InvocationMatcherTest [INFO] Tests run: 13, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.004 s - in org.mockito.internal.invocation.InvocationMatcherTest [INFO] Running org.mockito.internal.invocation.mockref.MockWeakReferenceTest [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 s - in org.mockito.internal.invocation.mockref.MockWeakReferenceTest [INFO] Running org.mockito.internal.invocation.InvocationMarkerTest [INFO] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 s - in org.mockito.internal.invocation.InvocationMarkerTest [INFO] Running org.mockito.internal.invocation.MatcherApplicationStrategyTest [INFO] Tests run: 12, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.003 s - in org.mockito.internal.invocation.MatcherApplicationStrategyTest [INFO] Running org.mockito.internal.invocation.InvocationsFinderTest [INFO] Tests run: 15, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.004 s - in org.mockito.internal.invocation.InvocationsFinderTest [INFO] Running org.mockito.internal.invocation.TypeSafeMatchingTest [INFO] Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.002 s - in org.mockito.internal.invocation.TypeSafeMatchingTest [INFO] Running org.mockito.internal.creation.MockSettingsImplTest [INFO] Tests run: 18, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.007 s - in org.mockito.internal.creation.MockSettingsImplTest [INFO] Running org.mockito.internal.creation.instance.ConstructorInstantiatorTest [INFO] Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.001 s - in org.mockito.internal.creation.instance.ConstructorInstantiatorTest [INFO] Running org.mockito.internal.creation.DelegatingMethodTest [INFO] Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 s - in org.mockito.internal.creation.DelegatingMethodTest [INFO] Running org.mockito.internal.creation.bytebuddy.TypeCachingMockBytecodeGeneratorTest [INFO] Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.624 s - in org.mockito.internal.creation.bytebuddy.TypeCachingMockBytecodeGeneratorTest [INFO] Running org.mockito.internal.creation.bytebuddy.ByteBuddyMockMakerTest [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.007 s - in org.mockito.internal.creation.bytebuddy.ByteBuddyMockMakerTest [INFO] Running org.mockito.internal.creation.bytebuddy.InlineByteBuddyMockMakerTest org.mockito.exceptions.base.MockitoException: Mockito cannot mock this class: int. Can not mock final classes with the following settings : - explicit serialization (e.g. withSettings().serializable()) - extra interfaces (e.g. withSettings().extraInterfaces(...)) You are seeing this disclaimer because Mockito is configured to create inlined mocks. You can learn about inline mocks and their limitations under item #39 of the Mockito class javadoc. Underlying exception : org.mockito.exceptions.base.MockitoException: Could not modify all classes [int] at org.mockito.internal.creation.bytebuddy.InlineByteBuddyMockMaker.prettifyFailure(InlineByteBuddyMockMaker.java:218) at org.mockito.internal.creation.bytebuddy.InlineByteBuddyMockMaker.createMockType(InlineByteBuddyMockMaker.java:206) at org.mockito.internal.creation.bytebuddy.InlineByteBuddyMockMaker.createMock(InlineByteBuddyMockMaker.java:180) at org.mockito.internal.creation.bytebuddy.InlineByteBuddyMockMakerTest.should_throw_exception_redefining_unmodifiable_class(InlineByteBuddyMockMakerTest.java:100) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:566) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:52) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) at org.junit.runners.ParentRunner.run(ParentRunner.java:363) at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365) at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:273) at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238) at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159) at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384) at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345) at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418) Caused by: org.mockito.exceptions.base.MockitoException: Could not modify all classes [int] at org.mockito.internal.creation.bytebuddy.InlineBytecodeGenerator.triggerRetransformation(InlineBytecodeGenerator.java:186) at org.mockito.internal.creation.bytebuddy.InlineBytecodeGenerator.mockClass(InlineBytecodeGenerator.java:152) at org.mockito.internal.creation.bytebuddy.TypeCachingBytecodeGenerator$1.call(TypeCachingBytecodeGenerator.java:37) at org.mockito.internal.creation.bytebuddy.TypeCachingBytecodeGenerator$1.call(TypeCachingBytecodeGenerator.java:34) at net.bytebuddy.TypeCache.findOrInsert(TypeCache.java:149) at net.bytebuddy.TypeCache$WithInlineExpunction.findOrInsert(TypeCache.java:360) at net.bytebuddy.TypeCache.findOrInsert(TypeCache.java:171) at net.bytebuddy.TypeCache$WithInlineExpunction.findOrInsert(TypeCache.java:371) at org.mockito.internal.creation.bytebuddy.TypeCachingBytecodeGenerator.mockClass(TypeCachingBytecodeGenerator.java:32) at org.mockito.internal.creation.bytebuddy.InlineByteBuddyMockMaker.createMockType(InlineByteBuddyMockMaker.java:199) ... 27 more Caused by: java.lang.instrument.UnmodifiableClassException at java.instrument/sun.instrument.InstrumentationImpl.retransformClasses0(Native Method) at java.instrument/sun.instrument.InstrumentationImpl.retransformClasses(InstrumentationImpl.java:167) at org.mockito.internal.creation.bytebuddy.InlineBytecodeGenerator.triggerRetransformation(InlineBytecodeGenerator.java:173) ... 36 more [INFO] Tests run: 39, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.34 s - in org.mockito.internal.creation.bytebuddy.InlineByteBuddyMockMakerTest [INFO] Running org.mockito.internal.creation.bytebuddy.SubclassByteBuddyMockMakerTest [INFO] Tests run: 16, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.31 s - in org.mockito.internal.creation.bytebuddy.SubclassByteBuddyMockMakerTest [INFO] Running org.mockito.internal.creation.InterfaceOverrideTest [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.006 s - in org.mockito.internal.creation.InterfaceOverrideTest [INFO] Running org.mockito.internal.hamcrest.MatcherGenericTypeExtractorTest [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.007 s - in org.mockito.internal.hamcrest.MatcherGenericTypeExtractorTest [INFO] Running org.mockito.internal.InOrderImplTest [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.001 s - in org.mockito.internal.InOrderImplTest [INFO] Running org.mockito.internal.exceptions.util.ScenarioPrinterTest [INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.001 s - in org.mockito.internal.exceptions.util.ScenarioPrinterTest [INFO] Running org.mockito.internal.exceptions.ReporterTest [INFO] Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.005 s - in org.mockito.internal.exceptions.ReporterTest [INFO] Running org.mockito.internal.exceptions.stacktrace.ConditionalStackTraceFilterTest [INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.003 s - in org.mockito.internal.exceptions.stacktrace.ConditionalStackTraceFilterTest [INFO] Running org.mockito.internal.exceptions.stacktrace.StackTraceFilterTest [INFO] Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.003 s - in org.mockito.internal.exceptions.stacktrace.StackTraceFilterTest [INFO] Running org.mockito.internal.junit.JUnitRuleTest [WARNING] Tests run: 4, Failures: 0, Errors: 0, Skipped: 1, Time elapsed: 0.005 s - in org.mockito.internal.junit.JUnitRuleTest [INFO] Running org.mockito.internal.junit.StubbingArgMismatchesTest [INFO] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 s - in org.mockito.internal.junit.StubbingArgMismatchesTest [INFO] Running org.mockito.internal.junit.ArgMismatchFinderTest [INFO] Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.004 s - in org.mockito.internal.junit.ArgMismatchFinderTest [INFO] Running org.mockito.internal.junit.util.JUnitFailureHackerTest org.mockito.internal.exceptions.ExceptionIncludingMockitoWarnings: contains both: actual test failure *and* Mockito warnings. unused stubbing blah *** The actual failure is because of: *** [INFO] Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.002 s - in org.mockito.internal.junit.util.JUnitFailureHackerTest [INFO] Running org.mockito.internal.junit.UnusedStubbingsTest [INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 s - in org.mockito.internal.junit.UnusedStubbingsTest [INFO] Running org.mockito.internal.junit.ExceptionFactoryTest [INFO] Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.029 s - in org.mockito.internal.junit.ExceptionFactoryTest [INFO] Running org.mockito.internal.handler.MockHandlerImplTest [INFO] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.065 s - in org.mockito.internal.handler.MockHandlerImplTest [INFO] Running org.mockito.internal.handler.MockHandlerFactoryTest [INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 s - in org.mockito.internal.handler.MockHandlerFactoryTest [INFO] Running org.mockito.internal.handler.InvocationNotifierHandlerTest [INFO] Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.024 s - in org.mockito.internal.handler.InvocationNotifierHandlerTest [INFO] Running org.mockito.internal.util.ObjectMethodsGuruTest [INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 s - in org.mockito.internal.util.ObjectMethodsGuruTest [INFO] Running org.mockito.internal.util.PlatformTest Java : 11 JVM vendor name : Red Hat, Inc. JVM vendor version : 11.0.15+10-LTS JVM name : OpenJDK 64-Bit Server VM JVM version : 11.0.15+10-LTS JVM info : mixed mode, sharing OS name : Linux OS version : 4.18.0-305.19.1.el8_4.x86_64 [INFO] Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.002 s - in org.mockito.internal.util.PlatformTest [INFO] Running org.mockito.internal.util.DefaultMockingDetailsTest [INFO] Tests run: 17, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.022 s - in org.mockito.internal.util.DefaultMockingDetailsTest [INFO] Running org.mockito.internal.util.reflection.ParameterizedConstructorInstantiatorTest [INFO] Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.01 s - in org.mockito.internal.util.reflection.ParameterizedConstructorInstantiatorTest [INFO] Running org.mockito.internal.util.reflection.GenericArrayReturnTypeTest [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.011 s - in org.mockito.internal.util.reflection.GenericArrayReturnTypeTest [INFO] Running org.mockito.internal.util.reflection.AccessibilityChangerTest [WARNING] Tests run: 2, Failures: 0, Errors: 0, Skipped: 1, Time elapsed: 0 s - in org.mockito.internal.util.reflection.AccessibilityChangerTest [INFO] Running org.mockito.internal.util.reflection.GenericMetadataSupportTest [INFO] Tests run: 19, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.015 s - in org.mockito.internal.util.reflection.GenericMetadataSupportTest [INFO] Running org.mockito.internal.util.reflection.GenericMasterTest [INFO] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 s - in org.mockito.internal.util.reflection.GenericMasterTest [INFO] Running org.mockito.internal.util.reflection.SuperTypesLastSorterTest [INFO] Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.001 s - in org.mockito.internal.util.reflection.SuperTypesLastSorterTest [INFO] Running org.mockito.internal.util.reflection.FieldsTest [INFO] Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.003 s - in org.mockito.internal.util.reflection.FieldsTest [INFO] Running org.mockito.internal.util.reflection.GenericTypeExtractorTest [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.002 s - in org.mockito.internal.util.reflection.GenericTypeExtractorTest [INFO] Running org.mockito.internal.util.reflection.LenientCopyToolTest [INFO] Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.013 s - in org.mockito.internal.util.reflection.LenientCopyToolTest [INFO] Running org.mockito.internal.util.reflection.BeanPropertySetterTest [INFO] Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.002 s - in org.mockito.internal.util.reflection.BeanPropertySetterTest [INFO] Running org.mockito.internal.util.reflection.FieldReaderTest [INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 s - in org.mockito.internal.util.reflection.FieldReaderTest [INFO] Running org.mockito.internal.util.reflection.FieldInitializerTest [INFO] Tests run: 15, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.006 s - in org.mockito.internal.util.reflection.FieldInitializerTest [INFO] Running org.mockito.internal.util.SimpleMockitoLoggerTest [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 s - in org.mockito.internal.util.SimpleMockitoLoggerTest [INFO] Running org.mockito.internal.util.ChecksTest [INFO] Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 s - in org.mockito.internal.util.ChecksTest [INFO] Running org.mockito.internal.util.MockSettingsTest [INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.002 s - in org.mockito.internal.util.MockSettingsTest [INFO] Running org.mockito.internal.util.MockNameImplTest [INFO] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 s - in org.mockito.internal.util.MockNameImplTest [INFO] Running org.mockito.internal.util.TimerTest [INFO] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 s - in org.mockito.internal.util.TimerTest [INFO] Running org.mockito.internal.util.io.IOUtilTest [INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.665 s - in org.mockito.internal.util.io.IOUtilTest [INFO] Running org.mockito.internal.util.StringUtilTest [INFO] Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.002 s - in org.mockito.internal.util.StringUtilTest [INFO] Running org.mockito.internal.util.PrimitivesTest [INFO] Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.004 s - in org.mockito.internal.util.PrimitivesTest [INFO] Running org.mockito.internal.util.MockCreationValidatorTest [INFO] Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 s - in org.mockito.internal.util.MockCreationValidatorTest [INFO] Running org.mockito.internal.util.collections.HashCodeAndEqualsSafeSetTest [INFO] Tests run: 17, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.009 s - in org.mockito.internal.util.collections.HashCodeAndEqualsSafeSetTest [INFO] Running org.mockito.internal.util.collections.IdentitySetTest [INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 s - in org.mockito.internal.util.collections.IdentitySetTest [INFO] Running org.mockito.internal.util.collections.ListUtilTest [INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 s - in org.mockito.internal.util.collections.ListUtilTest [INFO] Running org.mockito.internal.util.MockUtilTest [INFO] Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.011 s - in org.mockito.internal.util.MockUtilTest [INFO] Running org.mockito.internal.matchers.ComparableMatchersTest [INFO] Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 s - in org.mockito.internal.matchers.ComparableMatchersTest [INFO] Running org.mockito.internal.matchers.apachecommons.EqualsBuilderTest [INFO] Tests run: 46, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.012 s - in org.mockito.internal.matchers.apachecommons.EqualsBuilderTest [INFO] Running org.mockito.internal.matchers.StringMatchersTest [INFO] Tests run: 12, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.001 s - in org.mockito.internal.matchers.StringMatchersTest [INFO] Running org.mockito.internal.matchers.EqualsTest [INFO] Tests run: 12, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.002 s - in org.mockito.internal.matchers.EqualsTest [INFO] Running org.mockito.internal.matchers.MatchersToStringTest [INFO] Tests run: 17, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.005 s - in org.mockito.internal.matchers.MatchersToStringTest [INFO] Running org.mockito.internal.matchers.MatchersPrinterTest [INFO] Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.001 s - in org.mockito.internal.matchers.MatchersPrinterTest [INFO] Running org.mockito.internal.matchers.EqualityTest [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.001 s - in org.mockito.internal.matchers.EqualityTest [INFO] Running org.mockito.internal.matchers.InstanceOfTest [INFO] Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.001 s - in org.mockito.internal.matchers.InstanceOfTest [INFO] Running org.mockito.internal.matchers.text.MatcherToStringTest [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 s - in org.mockito.internal.matchers.text.MatcherToStringTest [INFO] Running org.mockito.internal.matchers.text.ValuePrinterTest [INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.004 s - in org.mockito.internal.matchers.text.ValuePrinterTest [INFO] Running org.mockito.internal.matchers.CapturingMatcherTest [INFO] Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 s - in org.mockito.internal.matchers.CapturingMatcherTest [INFO] Running org.mockito.internal.runners.util.RunnerProviderTest [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 s - in org.mockito.internal.runners.util.RunnerProviderTest [INFO] Running org.mockito.internal.runners.util.TestMethodsFinderTest [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 s - in org.mockito.internal.runners.util.TestMethodsFinderTest [INFO] Running org.mockito.internal.runners.DefaultInternalRunnerTest [INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.029 s - in org.mockito.internal.runners.DefaultInternalRunnerTest [INFO] Running org.mockito.internal.progress.ThreadSafeMockingProgressTest [INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 s - in org.mockito.internal.progress.ThreadSafeMockingProgressTest [INFO] Running org.mockito.internal.progress.TimesTest [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 s - in org.mockito.internal.progress.TimesTest [INFO] Running org.mockito.internal.progress.AtLeastTest [INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.001 s - in org.mockito.internal.progress.AtLeastTest [INFO] Running org.mockito.internal.progress.MockingProgressImplTest [INFO] Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.006 s - in org.mockito.internal.progress.MockingProgressImplTest [INFO] Running org.mockito.internal.debugging.VerboseMockInvocationLoggerTest ############ Logging method invocation #1 on mock/spy ######## iMethods.simpleMethod(); invoked: -> at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) has returned: "return value" (java.lang.String) ############ Logging method invocation #1 on mock/spy ######## iMethods.simpleMethod(); invoked: -> at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) has thrown: class org.mockito.internal.debugging.VerboseMockInvocationLoggerTest$ThirdPartyException ############ Logging method invocation #1 on mock/spy ######## stubbed: -> at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) iMethods.simpleMethod(); invoked: -> at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) has returned: "whatever" (java.lang.String) ############ Logging method invocation #1 on mock/spy ######## iMethods.simpleMethod(); invoked: -> at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) has returned: "whatever" (java.lang.String) ############ Logging method invocation #1 on mock/spy ######## iMethods.simpleMethod(); invoked: -> at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) has thrown: class org.mockito.internal.debugging.VerboseMockInvocationLoggerTest$ThirdPartyException ############ Logging method invocation #2 on mock/spy ######## iMethods.simpleMethod(); invoked: -> at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) has thrown: class org.mockito.internal.debugging.VerboseMockInvocationLoggerTest$ThirdPartyException ############ Logging method invocation #3 on mock/spy ######## iMethods.simpleMethod(); invoked: -> at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) has thrown: class org.mockito.internal.debugging.VerboseMockInvocationLoggerTest$ThirdPartyException [INFO] Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.004 s - in org.mockito.internal.debugging.VerboseMockInvocationLoggerTest [INFO] Running org.mockito.internal.debugging.WarningsFinderTest [INFO] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.002 s - in org.mockito.internal.debugging.WarningsFinderTest [INFO] Running org.mockito.internal.debugging.LoggingListenerTest [INFO] Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.002 s - in org.mockito.internal.debugging.LoggingListenerTest [INFO] Running org.mockito.internal.configuration.ClassPathLoaderTest [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 s - in org.mockito.internal.configuration.ClassPathLoaderTest [INFO] Running org.mockito.internal.configuration.plugins.PluginFileReaderTest [INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.001 s - in org.mockito.internal.configuration.plugins.PluginFileReaderTest [INFO] Running org.mockito.internal.configuration.plugins.PluginFinderTest [INFO] Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.879 s - in org.mockito.internal.configuration.plugins.PluginFinderTest [INFO] Running org.mockito.internal.configuration.plugins.DefaultMockitoPluginsTest [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.002 s - in org.mockito.internal.configuration.plugins.DefaultMockitoPluginsTest [INFO] Running org.mockito.internal.configuration.plugins.PluginLoaderTest [INFO] Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.015 s - in org.mockito.internal.configuration.plugins.PluginLoaderTest [INFO] Running org.mockito.internal.configuration.injection.SimpleArgumentResolverTest [INFO] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 s - in org.mockito.internal.configuration.injection.SimpleArgumentResolverTest [INFO] Running org.mockito.internal.configuration.injection.ConstructorInjectionTest [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 s - in org.mockito.internal.configuration.injection.ConstructorInjectionTest [INFO] Running org.mockito.internal.configuration.GlobalConfigurationTest [INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.049 s - in org.mockito.internal.configuration.GlobalConfigurationTest [INFO] Running org.mockito.internal.configuration.MockInjectionTest [INFO] Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.003 s - in org.mockito.internal.configuration.MockInjectionTest [INFO] Running org.mockito.internal.AllInvocationsFinderTest [INFO] Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.001 s - in org.mockito.internal.AllInvocationsFinderTest [INFO] Running org.mockito.internal.session.DefaultMockitoSessionBuilderTest [INFO] Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.002 s - in org.mockito.internal.session.DefaultMockitoSessionBuilderTest [INFO] Running org.mockito.internal.verification.VerificationOverTimeImplTest [INFO] Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.017 s - in org.mockito.internal.verification.VerificationOverTimeImplTest [INFO] Running org.mockito.internal.verification.NoMoreInteractionsTest [INFO] Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.002 s - in org.mockito.internal.verification.NoMoreInteractionsTest [INFO] Running org.mockito.internal.verification.DefaultRegisteredInvocationsTest [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 s - in org.mockito.internal.verification.DefaultRegisteredInvocationsTest [INFO] Running org.mockito.internal.verification.argumentmatching.ArgumentMatchingToolTest [INFO] Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.002 s - in org.mockito.internal.verification.argumentmatching.ArgumentMatchingToolTest [INFO] Running org.mockito.internal.verification.NoInteractionsTest [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 s - in org.mockito.internal.verification.NoInteractionsTest [INFO] Running org.mockito.internal.verification.DescriptionTest [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.005 s - in org.mockito.internal.verification.DescriptionTest [INFO] Running org.mockito.internal.verification.checkers.AtLeastXNumberOfInvocationsCheckerTest [INFO] Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.001 s - in org.mockito.internal.verification.checkers.AtLeastXNumberOfInvocationsCheckerTest [INFO] Running org.mockito.internal.verification.checkers.MissingInvocationCheckerTest [INFO] Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.003 s - in org.mockito.internal.verification.checkers.MissingInvocationCheckerTest [INFO] Running org.mockito.internal.verification.checkers.MissingInvocationInOrderCheckerTest [INFO] Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.002 s - in org.mockito.internal.verification.checkers.MissingInvocationInOrderCheckerTest [INFO] Running org.mockito.internal.verification.checkers.NumberOfInvocationsInOrderCheckerTest [INFO] Tests run: 11, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.005 s - in org.mockito.internal.verification.checkers.NumberOfInvocationsInOrderCheckerTest [INFO] Running org.mockito.internal.verification.checkers.NumberOfInvocationsCheckerTest [INFO] Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.004 s - in org.mockito.internal.verification.checkers.NumberOfInvocationsCheckerTest [INFO] Running org.mockito.internal.verification.VerificationWithDescriptionTest [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 s - in org.mockito.internal.verification.VerificationWithDescriptionTest [INFO] Running org.mockito.internal.verification.SmartPrinterTest [INFO] Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.001 s - in org.mockito.internal.verification.SmartPrinterTest [INFO] Running org.mockito.internal.verification.OnlyTest [INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.001 s - in org.mockito.internal.verification.OnlyTest [INFO] Running org.mockito.internal.verification.VerificationDataImplTest [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.001 s - in org.mockito.internal.verification.VerificationDataImplTest [INFO] Running org.mockito.InvocationFactoryTest [INFO] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.004 s - in org.mockito.InvocationFactoryTest [INFO] Running org.mockito.exceptions.base.MockitoSerializationIssueTest [INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 s - in org.mockito.exceptions.base.MockitoSerializationIssueTest [INFO] Running org.mockito.exceptions.base.MockitoExceptionTest [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 s - in org.mockito.exceptions.base.MockitoExceptionTest [INFO] Running org.mockito.exceptions.base.MockitoAssertionErrorTest [INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 s - in org.mockito.exceptions.base.MockitoAssertionErrorTest [INFO] Running org.mockito.exceptions.stacktrace.StackTraceCleanerTest [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 s - in org.mockito.exceptions.stacktrace.StackTraceCleanerTest [INFO] Running org.mockito.ArgumentCaptorTest [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 s - in org.mockito.ArgumentCaptorTest [INFO] Running org.mockito.MockitoTest [INFO] Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.001 s - in org.mockito.MockitoTest [INFO] Running org.mockito.runners.ConsoleSpammingMockitoJUnitRunnerTest [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 s - in org.mockito.runners.ConsoleSpammingMockitoJUnitRunnerTest [INFO] Running org.mockito.StaticMockingExperimentTest [INFO] Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.006 s - in org.mockito.StaticMockingExperimentTest [INFO] Running org.mockito.verification.TimeoutTest [INFO] Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.068 s - in org.mockito.verification.TimeoutTest [INFO] Running org.mockito.verification.NegativeDurationTest [INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 s - in org.mockito.verification.NegativeDurationTest [INFO] Running org.mockito.AnnotationsAreCopiedFromMockedTypeTest [INFO] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.011 s - in org.mockito.AnnotationsAreCopiedFromMockedTypeTest [INFO] Running org.mockitointegration.NoByteCodeDependenciesTest [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.063 s - in org.mockitointegration.NoByteCodeDependenciesTest [INFO] Running org.mockitointegration.NoJUnitDependenciesTest [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.207 s - in org.mockitointegration.NoJUnitDependenciesTest [INFO] Running org.concurrentmockito.VerificationInOrderFromMultipleThreadsTest [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.007 s - in org.concurrentmockito.VerificationInOrderFromMultipleThreadsTest [INFO] Running org.concurrentmockito.ThreadsShareGenerouslyStubbedMockTest [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.804 s - in org.concurrentmockito.ThreadsShareGenerouslyStubbedMockTest [INFO] Running org.concurrentmockito.ThreadVerifiesContinuouslyInteractingMockTest [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.049 s - in org.concurrentmockito.ThreadVerifiesContinuouslyInteractingMockTest [INFO] Running org.concurrentmockito.ThreadsShareAMockTest [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.042 s - in org.concurrentmockito.ThreadsShareAMockTest [INFO] Running org.concurrentmockito.ThreadsRunAllTestsHalfManualTest org.mockito.exceptions.misusing.InvalidUseOfMatchersException: Misplaced or misused argument matcher detected here: -> at org.mockitousage.matchers.InvalidUseOfMatchersTest.should_detect_stupid_use_of_matchers_when_verifying(InvalidUseOfMatchersTest.java:47) -> at org.mockitousage.matchers.InvalidUseOfMatchersTest.should_detect_stupid_use_of_matchers_when_verifying(InvalidUseOfMatchersTest.java:48) You cannot use argument matchers outside of verification or stubbing. Examples of correct usage of argument matchers: when(mock.get(anyInt())).thenReturn(null); doThrow(new RuntimeException()).when(mock).someVoidMethod(anyObject()); verify(mock).someMethod(contains("foo")) This message may appear after an NullPointerException if the last matcher is returning an object like any() but the stubbed method signature expect a primitive argument, in this case, use primitive alternatives. when(mock.get(any())); // bad use, will raise NPE when(mock.get(anyInt())); // correct usage use Also, this error might show up because you use argument matchers with methods that cannot be mocked. Following methods *cannot* be stubbed/verified: final/private/equals()/hashCode(). Mocking methods declared on non-public parent classes is not supported. at org.mockito.internal.exceptions.Reporter.misplacedArgumentMatcher(Reporter.java:558) at org.mockito.internal.progress.ArgumentMatcherStorageImpl.validateState(ArgumentMatcherStorageImpl.java:69) at org.mockito.internal.progress.MockingProgressImpl.validateMostStuff(MockingProgressImpl.java:127) at org.mockito.internal.progress.MockingProgressImpl.validateState(MockingProgressImpl.java:106) at org.mockito.internal.progress.MockingProgressImpl.verificationStarted(MockingProgressImpl.java:78) at org.mockito.internal.MockitoCore.verify(MockitoCore.java:95) at org.mockito.Mockito.verify(Mockito.java:2125) at org.mockitousage.matchers.InvalidUseOfMatchersTest.should_detect_stupid_use_of_matchers_when_verifying(InvalidUseOfMatchersTest.java:50) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:566) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:52) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.mockito.internal.runners.DefaultInternalRunner$1$1.evaluate(DefaultInternalRunner.java:44) at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) at org.junit.runners.ParentRunner.run(ParentRunner.java:363) at org.mockito.internal.runners.DefaultInternalRunner$1.run(DefaultInternalRunner.java:74) at org.mockito.internal.runners.DefaultInternalRunner.run(DefaultInternalRunner.java:80) at org.mockito.junit.MockitoJUnitRunner.run(MockitoJUnitRunner.java:163) at org.junit.runners.Suite.runChild(Suite.java:128) at org.junit.runners.Suite.runChild(Suite.java:27) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) at org.junit.runners.ParentRunner.run(ParentRunner.java:363) at org.junit.runner.JUnitCore.run(JUnitCore.java:137) at org.junit.runner.JUnitCore.run(JUnitCore.java:115) at org.junit.runner.JUnitCore.run(JUnitCore.java:105) at org.junit.runner.JUnitCore.runClasses(JUnitCore.java:62) at org.junit.runner.JUnitCore.runClasses(JUnitCore.java:49) at org.concurrentmockito.ThreadsRunAllTestsHalfManualTest$AllTestsRunner.run(ThreadsRunAllTestsHalfManualTest.java:70) org.mockito.exceptions.misusing.InvalidUseOfMatchersException: Misplaced or misused argument matcher detected here: -> at org.mockitousage.matchers.InvalidUseOfMatchersTest.should_detect_stupid_use_of_matchers_when_verifying(InvalidUseOfMatchersTest.java:47) -> at org.mockitousage.matchers.InvalidUseOfMatchersTest.should_detect_stupid_use_of_matchers_when_verifying(InvalidUseOfMatchersTest.java:48) You cannot use argument matchers outside of verification or stubbing. Examples of correct usage of argument matchers: when(mock.get(anyInt())).thenReturn(null); doThrow(new RuntimeException()).when(mock).someVoidMethod(anyObject()); verify(mock).someMethod(contains("foo")) This message may appear after an NullPointerException if the last matcher is returning an object like any() but the stubbed method signature expect a primitive argument, in this case, use primitive alternatives. when(mock.get(any())); // bad use, will raise NPE when(mock.get(anyInt())); // correct usage use Also, this error might show up because you use argument matchers with methods that cannot be mocked. Following methods *cannot* be stubbed/verified: final/private/equals()/hashCode(). Mocking methods declared on non-public parent classes is not supported. at org.mockito.internal.exceptions.Reporter.misplacedArgumentMatcher(Reporter.java:558) at org.mockito.internal.progress.ArgumentMatcherStorageImpl.validateState(ArgumentMatcherStorageImpl.java:69) at org.mockito.internal.progress.MockingProgressImpl.validateMostStuff(MockingProgressImpl.java:127) at org.mockito.internal.progress.MockingProgressImpl.validateState(MockingProgressImpl.java:106) at org.mockito.internal.progress.MockingProgressImpl.verificationStarted(MockingProgressImpl.java:78) at org.mockito.internal.MockitoCore.verify(MockitoCore.java:95) at org.mockito.Mockito.verify(Mockito.java:2125) at org.mockitousage.matchers.InvalidUseOfMatchersTest.should_detect_stupid_use_of_matchers_when_verifying(InvalidUseOfMatchersTest.java:50) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:566) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:52) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.mockito.internal.runners.DefaultInternalRunner$1$1.evaluate(DefaultInternalRunner.java:44) at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) at org.junit.runners.ParentRunner.run(ParentRunner.java:363) at org.mockito.internal.runners.DefaultInternalRunner$1.run(DefaultInternalRunner.java:74) at org.mockito.internal.runners.DefaultInternalRunner.run(DefaultInternalRunner.java:80) at org.mockito.junit.MockitoJUnitRunner.run(MockitoJUnitRunner.java:163) at org.junit.runners.Suite.runChild(Suite.java:128) at org.junit.runners.Suite.runChild(Suite.java:27) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) at org.junit.runners.ParentRunner.run(ParentRunner.java:363) at org.junit.runner.JUnitCore.run(JUnitCore.java:137) at org.junit.runner.JUnitCore.run(JUnitCore.java:115) at org.junit.runner.JUnitCore.run(JUnitCore.java:105) at org.junit.runner.JUnitCore.runClasses(JUnitCore.java:62) at org.junit.runner.JUnitCore.runClasses(JUnitCore.java:49) at org.concurrentmockito.ThreadsRunAllTestsHalfManualTest$AllTestsRunner.run(ThreadsRunAllTestsHalfManualTest.java:70) org.mockito.exceptions.misusing.InvalidUseOfMatchersException: Misplaced or misused argument matcher detected here: -> at org.mockitousage.matchers.InvalidUseOfMatchersTest.should_detect_stupid_use_of_matchers_when_verifying(InvalidUseOfMatchersTest.java:47) -> at org.mockitousage.matchers.InvalidUseOfMatchersTest.should_detect_stupid_use_of_matchers_when_verifying(InvalidUseOfMatchersTest.java:48) You cannot use argument matchers outside of verification or stubbing. Examples of correct usage of argument matchers: when(mock.get(anyInt())).thenReturn(null); doThrow(new RuntimeException()).when(mock).someVoidMethod(anyObject()); verify(mock).someMethod(contains("foo")) This message may appear after an NullPointerException if the last matcher is returning an object like any() but the stubbed method signature expect a primitive argument, in this case, use primitive alternatives. when(mock.get(any())); // bad use, will raise NPE when(mock.get(anyInt())); // correct usage use Also, this error might show up because you use argument matchers with methods that cannot be mocked. Following methods *cannot* be stubbed/verified: final/private/equals()/hashCode(). Mocking methods declared on non-public parent classes is not supported. at org.mockito.internal.exceptions.Reporter.misplacedArgumentMatcher(Reporter.java:558) at org.mockito.internal.progress.ArgumentMatcherStorageImpl.validateState(ArgumentMatcherStorageImpl.java:69) at org.mockito.internal.progress.MockingProgressImpl.validateMostStuff(MockingProgressImpl.java:127) at org.mockito.internal.progress.MockingProgressImpl.validateState(MockingProgressImpl.java:106) at org.mockito.internal.progress.MockingProgressImpl.verificationStarted(MockingProgressImpl.java:78) at org.mockito.internal.MockitoCore.verify(MockitoCore.java:95) at org.mockito.Mockito.verify(Mockito.java:2125) at org.mockitousage.matchers.InvalidUseOfMatchersTest.should_detect_stupid_use_of_matchers_when_verifying(InvalidUseOfMatchersTest.java:50) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:566) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:52) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.mockito.internal.runners.DefaultInternalRunner$1$1.evaluate(DefaultInternalRunner.java:44) at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) at org.junit.runners.ParentRunner.run(ParentRunner.java:363) at org.mockito.internal.runners.DefaultInternalRunner$1.run(DefaultInternalRunner.java:74) at org.mockito.internal.runners.DefaultInternalRunner.run(DefaultInternalRunner.java:80) at org.mockito.junit.MockitoJUnitRunner.run(MockitoJUnitRunner.java:163) at org.junit.runners.Suite.runChild(Suite.java:128) at org.junit.runners.Suite.runChild(Suite.java:27) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) at org.junit.runners.ParentRunner.run(ParentRunner.java:363) at org.junit.runner.JUnitCore.run(JUnitCore.java:137) at org.junit.runner.JUnitCore.run(JUnitCore.java:115) at org.junit.runner.JUnitCore.run(JUnitCore.java:105) at org.junit.runner.JUnitCore.runClasses(JUnitCore.java:62) at org.junit.runner.JUnitCore.runClasses(JUnitCore.java:49) at org.concurrentmockito.ThreadsRunAllTestsHalfManualTest$AllTestsRunner.run(ThreadsRunAllTestsHalfManualTest.java:70) [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.982 s - in org.concurrentmockito.ThreadsRunAllTestsHalfManualTest [INFO] [INFO] Results: [INFO] [WARNING] Tests run: 1999, Failures: 0, Errors: 0, Skipped: 36 [INFO] [INFO] [INFO] --- maven-jar-plugin:3.1.2:jar (default-jar) @ mockito-core --- [INFO] Building jar: /builddir/build/BUILD/mockito-3.1.2/target/mockito-core-3.1.2.jar [INFO] [INFO] ----------------------< org.mockito:mockito-core >---------------------- [INFO] Building mockito-core 3.1.2 [INFO] --------------------------------[ jar ]--------------------------------- [INFO] [INFO] --- xmvn-mojo:4.0.0-SNAPSHOT:install (default-cli) @ mockito-core --- [INFO] [INFO] --- xmvn-mojo:4.0.0-SNAPSHOT:javadoc (default-cli) @ mockito-core --- /builddir/build/BUILD/mockito-3.1.2/src/main/java/org/mockito/internal/stubbing/answers/CallsRealMethods.java:33: warning - invalid usage of tag & /builddir/build/BUILD/mockito-3.1.2/src/main/java/org/mockito/internal/verification/api/VerificationData.java:30: warning - invalid usage of tag < /builddir/build/BUILD/mockito-3.1.2/src/main/java/org/mockito/internal/verification/api/VerificationData.java:31: warning - invalid usage of tag < /builddir/build/BUILD/mockito-3.1.2/src/main/java/org/mockito/internal/verification/api/VerificationData.java:33: warning - invalid usage of tag < /builddir/build/BUILD/mockito-3.1.2/src/main/java/org/mockito/MockSettings.java:54: warning - invalid usage of tag & /builddir/build/BUILD/mockito-3.1.2/src/main/java/org/mockito/MockSettings.java:55: warning - invalid usage of tag & /builddir/build/BUILD/mockito-3.1.2/src/main/java/org/mockito/MockSettings.java:104: warning - invalid usage of tag & /builddir/build/BUILD/mockito-3.1.2/src/main/java/org/mockito/internal/stubbing/defaultanswers/RetrieveGenericsForDefaultAnswers.java:53: warning - invalid usage of tag & /builddir/build/BUILD/mockito-3.1.2/src/main/java/org/mockito/internal/stubbing/defaultanswers/ReturnsDeepStubs.java:33: warning - invalid usage of tag & /builddir/build/BUILD/mockito-3.1.2/src/main/java/org/mockito/MockitoFramework.java:36: warning - invalid usage of tag & /builddir/build/BUILD/mockito-3.1.2/src/main/java/org/mockito/MockitoFramework.java:63: warning - invalid usage of tag & /builddir/build/BUILD/mockito-3.1.2/src/main/java/org/mockito/invocation/MatchableInvocation.java:17: warning - invalid usage of tag < /builddir/build/BUILD/mockito-3.1.2/src/main/java/org/mockito/invocation/MatchableInvocation.java:18: warning - invalid usage of tag < /builddir/build/BUILD/mockito-3.1.2/src/main/java/org/mockito/exceptions/misusing/PotentialStubbingProblem.java:29: warning - invalid usage of tag < /builddir/build/BUILD/mockito-3.1.2/src/main/java/org/mockito/exceptions/misusing/UnnecessaryStubbingException.java:33: warning - invalid usage of tag < /builddir/build/BUILD/mockito-3.1.2/src/main/java/org/mockito/exceptions/misusing/UnnecessaryStubbingException.java:34: warning - invalid usage of tag < /builddir/build/BUILD/mockito-3.1.2/src/main/java/org/mockito/exceptions/misusing/UnnecessaryStubbingException.java:41: warning - invalid usage of tag & /builddir/build/BUILD/mockito-3.1.2/src/main/java/org/mockito/ArgumentCaptor.java:18: warning - invalid usage of tag & /builddir/build/BUILD/mockito-3.1.2/src/main/java/org/mockito/ArgumentMatcher.java:83: warning - invalid usage of tag > /builddir/build/BUILD/mockito-3.1.2/src/main/java/org/mockito/Mockito.java:59: warning - invalid usage of tag < /builddir/build/BUILD/mockito-3.1.2/src/main/java/org/mockito/Mockito.java:59: warning - invalid usage of tag > /builddir/build/BUILD/mockito-3.1.2/src/main/java/org/mockito/Mockito.java:60: warning - invalid usage of tag < /builddir/build/BUILD/mockito-3.1.2/src/main/java/org/mockito/Mockito.java:60: warning - invalid usage of tag > /builddir/build/BUILD/mockito-3.1.2/src/main/java/org/mockito/Mockito.java:78: warning - invalid usage of tag & /builddir/build/BUILD/mockito-3.1.2/src/main/java/org/mockito/Mockito.java:255: warning - invalid usage of tag > /builddir/build/BUILD/mockito-3.1.2/src/main/java/org/mockito/Mockito.java:255: warning - invalid usage of tag > /builddir/build/BUILD/mockito-3.1.2/src/main/java/org/mockito/Mockito.java:267: warning - invalid usage of tag & /builddir/build/BUILD/mockito-3.1.2/src/main/java/org/mockito/Mockito.java:528: warning - invalid usage of tag & /builddir/build/BUILD/mockito-3.1.2/src/main/java/org/mockito/Mockito.java:683: warning - invalid usage of tag & /builddir/build/BUILD/mockito-3.1.2/src/main/java/org/mockito/Mockito.java:710: warning - invalid usage of tag & /builddir/build/BUILD/mockito-3.1.2/src/main/java/org/mockito/Mockito.java:735: warning - invalid usage of tag & /builddir/build/BUILD/mockito-3.1.2/src/main/java/org/mockito/Mockito.java:747: warning - invalid usage of tag & /builddir/build/BUILD/mockito-3.1.2/src/main/java/org/mockito/Mockito.java:761: warning - invalid usage of tag & /builddir/build/BUILD/mockito-3.1.2/src/main/java/org/mockito/Mockito.java:767: warning - invalid usage of tag & /builddir/build/BUILD/mockito-3.1.2/src/main/java/org/mockito/Mockito.java:932: warning - invalid usage of tag & /builddir/build/BUILD/mockito-3.1.2/src/main/java/org/mockito/Mockito.java:1079: warning - invalid usage of tag < /builddir/build/BUILD/mockito-3.1.2/src/main/java/org/mockito/Mockito.java:1079: warning - invalid usage of tag > /builddir/build/BUILD/mockito-3.1.2/src/main/java/org/mockito/Mockito.java:1203: warning - invalid usage of tag > /builddir/build/BUILD/mockito-3.1.2/src/main/java/org/mockito/Mockito.java:1203: warning - invalid usage of tag < /builddir/build/BUILD/mockito-3.1.2/src/main/java/org/mockito/Mockito.java:1208: warning - invalid usage of tag < /builddir/build/BUILD/mockito-3.1.2/src/main/java/org/mockito/Mockito.java:1213: warning - invalid usage of tag > /builddir/build/BUILD/mockito-3.1.2/src/main/java/org/mockito/Mockito.java:1217: warning - invalid usage of tag > /builddir/build/BUILD/mockito-3.1.2/src/main/java/org/mockito/Mockito.java:1217: warning - invalid usage of tag < /builddir/build/BUILD/mockito-3.1.2/src/main/java/org/mockito/Mockito.java:1231: warning - invalid usage of tag > /builddir/build/BUILD/mockito-3.1.2/src/main/java/org/mockito/Mockito.java:1236: warning - invalid usage of tag > /builddir/build/BUILD/mockito-3.1.2/src/main/java/org/mockito/Mockito.java:1261: warning - invalid usage of tag < /builddir/build/BUILD/mockito-3.1.2/src/main/java/org/mockito/Mockito.java:1261: warning - invalid usage of tag > /builddir/build/BUILD/mockito-3.1.2/src/main/java/org/mockito/Mockito.java:1261: warning - invalid usage of tag > /builddir/build/BUILD/mockito-3.1.2/src/main/java/org/mockito/Mockito.java:1265: warning - invalid usage of tag > /builddir/build/BUILD/mockito-3.1.2/src/main/java/org/mockito/Mockito.java:1277: warning - invalid usage of tag < /builddir/build/BUILD/mockito-3.1.2/src/main/java/org/mockito/Mockito.java:1277: warning - invalid usage of tag > /builddir/build/BUILD/mockito-3.1.2/src/main/java/org/mockito/Mockito.java:1289: warning - invalid usage of tag < /builddir/build/BUILD/mockito-3.1.2/src/main/java/org/mockito/Mockito.java:1289: warning - invalid usage of tag > /builddir/build/BUILD/mockito-3.1.2/src/main/java/org/mockito/Mockito.java:1289: warning - invalid usage of tag > /builddir/build/BUILD/mockito-3.1.2/src/main/java/org/mockito/Mockito.java:1293: warning - invalid usage of tag < /builddir/build/BUILD/mockito-3.1.2/src/main/java/org/mockito/Mockito.java:1293: warning - invalid usage of tag > /builddir/build/BUILD/mockito-3.1.2/src/main/java/org/mockito/Mockito.java:1712: warning - invalid usage of tag & /builddir/build/BUILD/mockito-3.1.2/src/main/java/org/mockito/Mockito.java:1924: warning - invalid usage of tag & /builddir/build/BUILD/mockito-3.1.2/src/main/java/org/mockito/Mockito.java:2161: warning - invalid usage of tag & /builddir/build/BUILD/mockito-3.1.2/src/main/java/org/mockito/Mockito.java:2175: warning - invalid usage of tag & /builddir/build/BUILD/mockito-3.1.2/src/main/java/org/mockito/Mockito.java:2361: warning - invalid usage of tag & /builddir/build/BUILD/mockito-3.1.2/src/main/java/org/mockito/Mockito.java:2965: warning - invalid usage of tag & /builddir/build/BUILD/mockito-3.1.2/src/main/java/org/mockito/Mockito.java:2970: warning - invalid usage of tag & /builddir/build/BUILD/mockito-3.1.2/src/main/java/org/mockito/MockitoFramework.java:36: warning - invalid usage of tag & /builddir/build/BUILD/mockito-3.1.2/src/main/java/org/mockito/MockitoFramework.java:63: warning - invalid usage of tag & /builddir/build/BUILD/mockito-3.1.2/src/main/java/org/mockito/MockSettings.java:26: warning - invalid usage of tag & /builddir/build/BUILD/mockito-3.1.2/src/main/java/org/mockito/MockSettings.java:31: warning - invalid usage of tag & /builddir/build/BUILD/mockito-3.1.2/src/main/java/org/mockito/MockSettings.java:54: warning - invalid usage of tag & /builddir/build/BUILD/mockito-3.1.2/src/main/java/org/mockito/MockSettings.java:55: warning - invalid usage of tag & /builddir/build/BUILD/mockito-3.1.2/src/main/java/org/mockito/MockSettings.java:104: warning - invalid usage of tag & /builddir/build/BUILD/mockito-3.1.2/src/main/java/org/mockito/internal/util/reflection/GenericMetadataSupport.java:54: warning - invalid usage of tag & /builddir/build/BUILD/mockito-3.1.2/src/main/java/org/mockito/internal/util/reflection/GenericMetadataSupport.java:577: warning - invalid usage of tag < /builddir/build/BUILD/mockito-3.1.2/src/main/java/org/mockito/internal/util/reflection/GenericMetadataSupport.java:577: warning - invalid usage of tag & /builddir/build/BUILD/mockito-3.1.2/src/main/java/org/mockito/internal/util/reflection/GenericMetadataSupport.java:577: warning - invalid usage of tag > /builddir/build/BUILD/mockito-3.1.2/src/main/java/org/mockito/internal/util/reflection/GenericMetadataSupport.java:601: warning - invalid usage of tag & /builddir/build/BUILD/mockito-3.1.2/src/main/java/org/mockito/internal/util/reflection/GenericMetadataSupport.java:601: warning - invalid usage of tag & /builddir/build/BUILD/mockito-3.1.2/src/main/java/org/mockito/internal/util/reflection/GenericMetadataSupport.java:601: warning - invalid usage of tag & /builddir/build/BUILD/mockito-3.1.2/src/main/java/org/mockito/internal/util/reflection/GenericMetadataSupport.java:601: warning - invalid usage of tag & /builddir/build/BUILD/mockito-3.1.2/src/main/java/org/mockito/internal/util/reflection/GenericMetadataSupport.java:601: warning - invalid usage of tag & /builddir/build/BUILD/mockito-3.1.2/src/main/java/org/mockito/internal/util/reflection/GenericMetadataSupport.java:601: warning - invalid usage of tag & /builddir/build/BUILD/mockito-3.1.2/src/main/java/org/mockito/internal/exceptions/stacktrace/StackTraceFilter.java:43: warning - invalid usage of tag > /builddir/build/BUILD/mockito-3.1.2/src/main/java/org/mockito/internal/exceptions/stacktrace/StackTraceFilter.java:43: warning - invalid usage of tag > /builddir/build/BUILD/mockito-3.1.2/src/main/java/org/mockito/internal/exceptions/stacktrace/StackTraceFilter.java:62: warning - Tag @link: reference not found: sun.misc.SharedSecrets /builddir/build/BUILD/mockito-3.1.2/src/main/java/org/mockito/internal/exceptions/stacktrace/StackTraceFilter.java:63: warning - Tag @link: reference not found: sun.misc.JavaLangAccess /builddir/build/BUILD/mockito-3.1.2/src/main/java/org/mockito/internal/exceptions/stacktrace/StackTraceFilter.java:65: warning - Tag @link: reference not found: sun.misc.SharedSecrets /builddir/build/BUILD/mockito-3.1.2/src/main/java/org/mockito/internal/exceptions/stacktrace/StackTraceFilter.java:65: warning - Tag @link: reference not found: sun.misc.JavaLangAccess /builddir/build/BUILD/mockito-3.1.2/src/main/java/org/mockito/stubbing/OngoingStubbing.java:162: warning - invalid usage of tag & /builddir/build/BUILD/mockito-3.1.2/src/main/java/org/mockito/stubbing/OngoingStubbing.java:224: warning - invalid usage of tag & /builddir/build/BUILD/mockito-3.1.2/src/main/java/org/mockito/stubbing/OngoingStubbing.java:162: warning - invalid usage of tag & /builddir/build/BUILD/mockito-3.1.2/src/main/java/org/mockito/stubbing/OngoingStubbing.java:224: warning - invalid usage of tag & /builddir/build/BUILD/mockito-3.1.2/src/main/java/org/mockito/stubbing/VoidAnswer4.java:26: warning - invalid usage of tag < /builddir/build/BUILD/mockito-3.1.2/src/main/java/org/mockito/stubbing/VoidAnswer5.java:26: warning - invalid usage of tag < /builddir/build/BUILD/mockito-3.1.2/src/main/java/org/mockito/stubbing/VoidAnswer6.java:26: warning - invalid usage of tag < /builddir/build/BUILD/mockito-3.1.2/src/main/java/org/mockito/internal/verification/api/VerificationData.java:30: warning - invalid usage of tag < /builddir/build/BUILD/mockito-3.1.2/src/main/java/org/mockito/internal/verification/api/VerificationData.java:31: warning - invalid usage of tag < /builddir/build/BUILD/mockito-3.1.2/src/main/java/org/mockito/internal/verification/api/VerificationData.java:33: warning - invalid usage of tag < /builddir/build/BUILD/mockito-3.1.2/src/main/java/org/mockito/exceptions/verification/opentest4j/package-info.java:9: warning - Tag @see: reference not found: org.mocktio.exceptions.verification.junit /builddir/build/BUILD/mockito-3.1.2/src/main/java/org/mockito/exceptions/verification/opentest4j/package-info.java:10: warning - Tag @see: reference not found: org.mocktio.exceptions.verification.junit4 /builddir/build/BUILD/mockito-3.1.2/src/main/java/org/mockito/internal/exceptions/stacktrace/StackTraceFilter.java:43: warning - invalid usage of tag > /builddir/build/BUILD/mockito-3.1.2/src/main/java/org/mockito/internal/util/reflection/GenericMetadataSupport.java:601: warning - invalid usage of tag & [INFO] [INFO] --- xmvn-mojo:4.0.0-SNAPSHOT:builddep (default-cli) @ mockito-core --- [INFO] ------------------------------------------------------------------------ [INFO] BUILD SUCCESS [INFO] ------------------------------------------------------------------------ [INFO] Total time: 51.441 s [INFO] Finished at: 2022-05-19T19:50:46+08:00 [INFO] ------------------------------------------------------------------------ -----BEGIN MAVEN BUILD DEPENDENCIES----- H4sIAAAAAAACA73UvW6DMBQF4D1P4bJf00YdCVHaiSFTVKmrsW/ACGzkHwpvX5OkCl08hKqj7zni k60rsv3YtWRAY6VWu+SFPicEFddCqmqXfJzgcHovimSfb7InAPLmZSuIwB6VCDWJllSo0DCHgpQT +TwOigCE9rKTbwi5D6b5GAaV0b4vRK5NRVnPeI30jK0cs/QnufaYcfLMuAuDjg2ooPRKtAh96yup snSRz076G4q74aJYM29ppxsdgXFEDlf9L1j9taXMdhHwkj5KKHS0nByWXogpgswduJX+zwIWVsat fMCyCWtnpY2Ii84qKmQOrXttYtaitAarWcdN+E6EulcehRqvZEy45WvuwaxF45rogl8awLXBuLU4 zf+Sb5J4uP2yBAAA -----END MAVEN BUILD DEPENDENCIES----- + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.ga9M4T + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/mockito-3.1.2-2.module+el8.6.0+501+87374eb3.noarch '!=' / ']' + rm -rf /builddir/build/BUILDROOT/mockito-3.1.2-2.module+el8.6.0+501+87374eb3.noarch ++ dirname /builddir/build/BUILDROOT/mockito-3.1.2-2.module+el8.6.0+501+87374eb3.noarch + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/mockito-3.1.2-2.module+el8.6.0+501+87374eb3.noarch + cd mockito-3.1.2 + xmvn-install -R .xmvn-reactor -n mockito -d /builddir/build/BUILDROOT/mockito-3.1.2-2.module+el8.6.0+501+87374eb3.noarch [INFO] Installing artifact org.mockito:mockito-core:jar:3.1.2 [INFO] Installing artifact org.mockito:mockito-core:pom:3.1.2 [INFO] Installation successful + jdir=target/site/apidocs + '[' -d .xmvn/apidocs ']' + jdir=.xmvn/apidocs + /usr/bin/mkdir -p /builddir/build/BUILDROOT/mockito-3.1.2-2.module+el8.6.0+501+87374eb3.noarch/usr/share/licenses + '[' -d .xmvn/apidocs ']' + install -dm755 /builddir/build/BUILDROOT/mockito-3.1.2-2.module+el8.6.0+501+87374eb3.noarch/usr/share/javadoc/mockito + cp -pr .xmvn/apidocs/allclasses-index.html .xmvn/apidocs/allclasses.html .xmvn/apidocs/allpackages-index.html .xmvn/apidocs/args .xmvn/apidocs/constant-values.html .xmvn/apidocs/deprecated-list.html .xmvn/apidocs/element-list .xmvn/apidocs/help-doc.html .xmvn/apidocs/index-all.html .xmvn/apidocs/index.html .xmvn/apidocs/jquery .xmvn/apidocs/member-search-index.js .xmvn/apidocs/member-search-index.zip .xmvn/apidocs/org .xmvn/apidocs/overview-summary.html .xmvn/apidocs/overview-tree.html .xmvn/apidocs/package-search-index.js .xmvn/apidocs/package-search-index.zip .xmvn/apidocs/resources .xmvn/apidocs/script.js .xmvn/apidocs/search.js .xmvn/apidocs/serialized-form.html .xmvn/apidocs/stylesheet.css .xmvn/apidocs/type-search-index.js .xmvn/apidocs/type-search-index.zip /builddir/build/BUILDROOT/mockito-3.1.2-2.module+el8.6.0+501+87374eb3.noarch/usr/share/javadoc/mockito + echo /usr/share/javadoc/mockito + /usr/lib/rpm/find-debuginfo.sh -j16 --strict-build-id -m -i --build-id-seed 3.1.2-2.module+el8.6.0+501+87374eb3 --unique-debug-suffix -3.1.2-2.module+el8.6.0+501+87374eb3.noarch --unique-debug-src-base mockito-3.1.2-2.module+el8.6.0+501+87374eb3.noarch --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/mockito-3.1.2 + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig /sbin/ldconfig: Warning: ignoring configuration file that cannot be opened: /etc/ld.so.conf: No such file or directory + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile '' 1 + /usr/lib/rpm/brp-python-hardlink + PYTHON3=/usr/libexec/platform-python + /usr/lib/rpm/redhat/brp-mangle-shebangs Processing files: mockito-3.1.2-2.module+el8.6.0+501+87374eb3.noarch Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.y6j4DU + umask 022 + cd /builddir/build/BUILD + cd mockito-3.1.2 + DOCDIR=/builddir/build/BUILDROOT/mockito-3.1.2-2.module+el8.6.0+501+87374eb3.noarch/usr/share/doc/mockito + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/mockito-3.1.2-2.module+el8.6.0+501+87374eb3.noarch/usr/share/doc/mockito + cp -pr README.md /builddir/build/BUILDROOT/mockito-3.1.2-2.module+el8.6.0+501+87374eb3.noarch/usr/share/doc/mockito + cp -pr doc/design-docs/custom-argument-matching.md /builddir/build/BUILDROOT/mockito-3.1.2-2.module+el8.6.0+501+87374eb3.noarch/usr/share/doc/mockito + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.o7FB6T + umask 022 + cd /builddir/build/BUILD + cd mockito-3.1.2 + LICENSEDIR=/builddir/build/BUILDROOT/mockito-3.1.2-2.module+el8.6.0+501+87374eb3.noarch/usr/share/licenses/mockito + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/mockito-3.1.2-2.module+el8.6.0+501+87374eb3.noarch/usr/share/licenses/mockito + cp -pr LICENSE /builddir/build/BUILDROOT/mockito-3.1.2-2.module+el8.6.0+501+87374eb3.noarch/usr/share/licenses/mockito + exit 0 [INFO osgi.prov] input: ['/builddir/build/BUILDROOT/mockito-3.1.2-2.module+el8.6.0+501+87374eb3.noarch/usr/share/java/mockito/mockito-core.jar'] [INFO osgi.prov] osgi(org.mockito) = 3.1.2 [INFO osgi.req] input: ['/builddir/build/BUILDROOT/mockito-3.1.2-2.module+el8.6.0+501+87374eb3.noarch/usr/share/java/mockito/mockito-core.jar'] [INFO maven.prov] input: ['/builddir/build/BUILDROOT/mockito-3.1.2-2.module+el8.6.0+501+87374eb3.noarch/usr/share/maven-metadata/mockito.xml'] [INFO maven.prov] mvn(org.mockito:mockito-core:pom:) = 3.1.2 mvn(org.mockito:mockito-all:pom:) = 3.1.2, mvn(org.mockito:mockito-core) = 3.1.2 mvn(org.mockito:mockito-all) = 3.1.2 [INFO maven.req] input: ['/builddir/build/BUILDROOT/mockito-3.1.2-2.module+el8.6.0+501+87374eb3.noarch/usr/share/maven-metadata/mockito.xml'] [INFO maven.req] mvn(net.bytebuddy:byte-buddy), mvn(net.bytebuddy:byte-buddy-agent), mvn(org.objenesis:objenesis), javapackages-filesystem, mvn(org.ow2.asm:asm), mvn(org.opentest4j:opentest4j), java-headless >= 1:1.8 Provides: mockito = 3.1.2-2.module+el8.6.0+501+87374eb3 mvn(org.mockito:mockito-all) = 3.1.2 mvn(org.mockito:mockito-all:pom:) = 3.1.2 mvn(org.mockito:mockito-core) = 3.1.2 mvn(org.mockito:mockito-core:pom:) = 3.1.2 osgi(org.mockito) = 3.1.2 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: java-headless >= 1:1.8 javapackages-filesystem mvn(net.bytebuddy:byte-buddy) mvn(net.bytebuddy:byte-buddy-agent) mvn(org.objenesis:objenesis) mvn(org.opentest4j:opentest4j) mvn(org.ow2.asm:asm) Processing files: mockito-javadoc-3.1.2-2.module+el8.6.0+501+87374eb3.noarch Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.fUxxNW + umask 022 + cd /builddir/build/BUILD + cd mockito-3.1.2 + LICENSEDIR=/builddir/build/BUILDROOT/mockito-3.1.2-2.module+el8.6.0+501+87374eb3.noarch/usr/share/licenses/mockito-javadoc + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/mockito-3.1.2-2.module+el8.6.0+501+87374eb3.noarch/usr/share/licenses/mockito-javadoc + cp -pr LICENSE /builddir/build/BUILDROOT/mockito-3.1.2-2.module+el8.6.0+501+87374eb3.noarch/usr/share/licenses/mockito-javadoc + exit 0 Provides: mockito-javadoc = 3.1.2-2.module+el8.6.0+501+87374eb3 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: javapackages-filesystem Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/mockito-3.1.2-2.module+el8.6.0+501+87374eb3.noarch Wrote: /builddir/build/RPMS/mockito-3.1.2-2.module+el8.6.0+501+87374eb3.noarch.rpm Wrote: /builddir/build/RPMS/mockito-javadoc-3.1.2-2.module+el8.6.0+501+87374eb3.noarch.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.wpZFLW + umask 022 + cd /builddir/build/BUILD + cd mockito-3.1.2 + /usr/bin/rm -rf /builddir/build/BUILDROOT/mockito-3.1.2-2.module+el8.6.0+501+87374eb3.noarch + exit 0 Child return code was: 0