Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 859608 Details for
Bug 903897
dev-java/mockito-2.28.2: skips some tests because of unresolved test failures
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
build log showing test failures
buildlog-with-jdk17-testfailures (text/plain), 244.19 KB, created by
Volkmar W. Pogatzki
on 2023-04-06 07:35:01 UTC
(
hide
)
Description:
build log showing test failures
Filename:
MIME Type:
Creator:
Volkmar W. Pogatzki
Created:
2023-04-06 07:35:01 UTC
Size:
244.19 KB
patch
obsolete
>Forcing test. >Appending /var/db/repos/vaukai to PORTDIR_OVERLAY... > * mockito-2.28.2.tar.gz BLAKE2B SHA512 size ;-) ... [ ok ] >debug: eclass exists: /var/db/repos/vaukai/eclass/java-pkg-2.eclass >debug: inherit: java-pkg-2 -> /var/db/repos/vaukai/eclass/java-pkg-2.eclass >debug: *** Multiple Inheritance (Level: 2) >debug: eclass exists: /var/db/repos/vaukai/eclass/java-utils-2.eclass >debug: inherit: java-utils-2 -> /var/db/repos/vaukai/eclass/java-utils-2.eclass >debug: EXPORT_FUNCTIONS: pkg_setup -> java-pkg-2_pkg_setup >debug: EXPORT_FUNCTIONS: src_prepare -> java-pkg-2_src_prepare >debug: EXPORT_FUNCTIONS: src_compile -> java-pkg-2_src_compile >debug: EXPORT_FUNCTIONS: pkg_preinst -> java-pkg-2_pkg_preinst >debug: eclass exists: /var/db/repos/vaukai/eclass/java-pkg-simple.eclass >debug: inherit: java-pkg-simple -> /var/db/repos/vaukai/eclass/java-pkg-simple.eclass >debug: *** Multiple Inheritance (Level: 2) >debug: eclass exists: /var/db/repos/vaukai/eclass/java-utils-2.eclass >debug: inherit: java-utils-2 -> /var/db/repos/vaukai/eclass/java-utils-2.eclass >debug: EXPORT_FUNCTIONS: src_compile -> java-pkg-simple_src_compile >debug: EXPORT_FUNCTIONS: src_install -> java-pkg-simple_src_install >debug: EXPORT_FUNCTIONS: src_test -> java-pkg-simple_src_test >debug: eclass exists: /var/db/repos/vaukai/eclass/java-pkg-2.eclass >debug: inherit: java-pkg-2 -> /var/db/repos/vaukai/eclass/java-pkg-2.eclass >debug: *** Multiple Inheritance (Level: 2) >debug: eclass exists: /var/db/repos/vaukai/eclass/java-utils-2.eclass >debug: inherit: java-utils-2 -> /var/db/repos/vaukai/eclass/java-utils-2.eclass >debug: EXPORT_FUNCTIONS: pkg_setup -> java-pkg-2_pkg_setup >debug: EXPORT_FUNCTIONS: src_prepare -> java-pkg-2_src_prepare >debug: EXPORT_FUNCTIONS: src_compile -> java-pkg-2_src_compile >debug: EXPORT_FUNCTIONS: pkg_preinst -> java-pkg-2_pkg_preinst >debug: eclass exists: /var/db/repos/vaukai/eclass/java-pkg-simple.eclass >debug: inherit: java-pkg-simple -> /var/db/repos/vaukai/eclass/java-pkg-simple.eclass >debug: *** Multiple Inheritance (Level: 2) >debug: eclass exists: /var/db/repos/vaukai/eclass/java-utils-2.eclass >debug: inherit: java-utils-2 -> /var/db/repos/vaukai/eclass/java-utils-2.eclass >debug: EXPORT_FUNCTIONS: src_compile -> java-pkg-simple_src_compile >debug: EXPORT_FUNCTIONS: src_install -> java-pkg-simple_src_install >debug: EXPORT_FUNCTIONS: src_test -> java-pkg-simple_src_test >debug: java-pkg_init: entering function, parameters: >debug: java-pkg_switch-vm: entering function, parameters: >debug: java-pkg_needs-vm: entering function, parameters: >debug: depend-java-query: NV_DEPEND: > dev-java/junit:4 > dev-java/opentest4j:0 > >=virtual/jdk-1.8:* > > dev-java/asm:9 > dev-java/byte-buddy:0 > dev-java/objenesis:0 > > test? ( dev-java/assertj-core:3 ) > >=dev-java/java-config-2.2.0-r3 source? ( app-arch/zip ) test? ( dev-java/junit:4 ) >debug: Using: openjdk-17 >debug: java-pkg_setup-vm: entering function, parameters: >debug: java-pkg_get-vm-vendor: entering function, parameters: >debug: java-pkg_javac-args: entering function, parameters: >debug: want source: 1.8 >debug: want target: 1.8 >debug: java-pkg_append_: entering function, parameters: LD_LIBRARY_PATH /usr/lib64/openjdk-17/lib/:/usr/lib64/openjdk-17/lib/server/ > [32m*[0m Using: openjdk-17 >>>> Unpacking source... >>>> Unpacking mockito-2.28.2.tar.gz to /var/tmp/portage/dev-java/mockito-2.28.2/work >>>> Source unpacked in /var/tmp/portage/dev-java/mockito-2.28.2/work >>>> Preparing source in /var/tmp/portage/dev-java/mockito-2.28.2/work/mockito-2.28.2 ... >Searching for bundled jars: >/var/tmp/portage/dev-java/mockito-2.28.2/work/mockito-2.28.2/gradle/wrapper/gradle-wrapper.jar >Searching for bundled classes (no output if none found): >Search done. >>>> Source prepared. >>>> Configuring source in /var/tmp/portage/dev-java/mockito-2.28.2/work/mockito-2.28.2 ... >>>> Source configured. >>>> Compiling source in /var/tmp/portage/dev-java/mockito-2.28.2/work/mockito-2.28.2 ... >debug: java-pkg_gen-cp: entering function, parameters: JAVA_GENTOO_CLASSPATH >debug: java-pkg-simple_getclasspath: entering function, parameters: >debug: java-pkg_getjars: entering function, parameters: --build-only --with-dependencies junit-4 >debug: junit-4:/usr/share/junit-4/lib/junit.jar:/usr/share/hamcrest-core-1.3/lib/hamcrest-core.jar >debug: java-pkg_ensure-dep: entering function, parameters: build junit-4 >debug: Matching against: /junit(-4(-[^:]+)?:0|(-[^:]+)?:4)\b >debug: java-pkg_record-jar_: entering function, parameters: --build-only junit-4 >debug: java-pkg_getjars: entering function, parameters: --build-only --with-dependencies opentest4j >debug: opentest4j:/usr/share/opentest4j/lib/opentest4j.jar >debug: java-pkg_ensure-dep: entering function, parameters: build opentest4j >debug: Matching against: /(opentest4j(-[^:]+)?:0|(-[^:]+)?:opentest4j)\b >debug: java-pkg_record-jar_: entering function, parameters: --build-only opentest4j >debug: java-pkg_getjars: entering function, parameters: --build-only --with-dependencies assertj-core-3,junit-4 >debug: assertj-core-3,junit-4:/usr/share/assertj-core-3/lib/assertj-core.jar:/usr/share/junit-4/lib/junit.jar:/usr/share/hamcrest-core-1.3/lib/hamcrest-core.jar:/usr/share/byte-buddy/lib/byte-buddy-agent.jar:/usr/share/byte-buddy/lib/byte-buddy.jar >debug: java-pkg_ensure-dep: entering function, parameters: build assertj-core-3 >debug: Matching against: /assertj-core(-3(-[^:]+)?:0|(-[^:]+)?:3)\b >debug: java-pkg_ensure-dep: entering function, parameters: build junit-4 >debug: Matching against: /junit(-4(-[^:]+)?:0|(-[^:]+)?:4)\b >debug: java-pkg_record-jar_: entering function, parameters: --build-only assertj-core-3 >debug: java-pkg_record-jar_: entering function, parameters: --build-only junit-4 >debug: java-pkg_getjars: entering function, parameters: --with-dependencies asm-9,byte-buddy,objenesis >debug: asm-9,byte-buddy,objenesis:/usr/share/asm-9/lib/asm.jar:/usr/share/asm-9/lib/asm-tree.jar:/usr/share/asm-9/lib/asm-analysis.jar:/usr/share/asm-9/lib/asm-commons.jar:/usr/share/asm-9/lib/asm-util.jar:/usr/share/byte-buddy/lib/byte-buddy-agent.jar:/usr/share/byte-buddy/lib/byte-buddy.jar:/usr/share/objenesis/lib/objenesis.jar >debug: java-pkg_ensure-dep: entering function, parameters: asm-9 >debug: Matching against: /asm(-9(-[^:]+)?:0|(-[^:]+)?:9)\b >debug: java-pkg_ensure-dep: entering function, parameters: byte-buddy >debug: Matching against: /byte(-buddy(-[^:]+)?:0|(-[^:]+)?:buddy)\b >debug: java-pkg_ensure-dep: entering function, parameters: objenesis >debug: Matching against: /(objenesis(-[^:]+)?:0|(-[^:]+)?:objenesis)\b >debug: java-pkg_record-jar_: entering function, parameters: asm-9 >debug: java-pkg_record-jar_: entering function, parameters: byte-buddy >debug: java-pkg_record-jar_: entering function, parameters: objenesis >debug: CLASSPATH=/usr/share/junit-4/lib/junit.jar:/usr/share/hamcrest-core-1.3/lib/hamcrest-core.jar:/usr/share/opentest4j/lib/opentest4j.jar:/usr/share/assertj-core-3/lib/assertj-core.jar:/usr/share/junit-4/lib/junit.jar:/usr/share/hamcrest-core-1.3/lib/hamcrest-core.jar:/usr/share/byte-buddy/lib/byte-buddy-agent.jar:/usr/share/byte-buddy/lib/byte-buddy.jar:/usr/share/asm-9/lib/asm.jar:/usr/share/asm-9/lib/asm-tree.jar:/usr/share/asm-9/lib/asm-analysis.jar:/usr/share/asm-9/lib/asm-commons.jar:/usr/share/asm-9/lib/asm-util.jar:/usr/share/byte-buddy/lib/byte-buddy-agent.jar:/usr/share/byte-buddy/lib/byte-buddy.jar:/usr/share/objenesis/lib/objenesis.jar >debug: java-pkg-simple_prepend_resources: entering function, parameters: target/classes >debug: ejavac: entering function, parameters: -d target/classes -encoding UTF-8 -classpath /usr/share/junit-4/lib/junit.jar:/usr/share/hamcrest-core-1.3/lib/hamcrest-core.jar:/usr/share/opentest4j/lib/opentest4j.jar:/usr/share/assertj-core-3/lib/assertj-core.jar:/usr/share/junit-4/lib/junit.jar:/usr/share/hamcrest-core-1.3/lib/hamcrest-core.jar:/usr/share/byte-buddy/lib/byte-buddy-agent.jar:/usr/share/byte-buddy/lib/byte-buddy.jar:/usr/share/asm-9/lib/asm.jar:/usr/share/asm-9/lib/asm-tree.jar:/usr/share/asm-9/lib/asm-analysis.jar:/usr/share/asm-9/lib/asm-commons.jar:/usr/share/asm-9/lib/asm-util.jar:/usr/share/byte-buddy/lib/byte-buddy-agent.jar:/usr/share/byte-buddy/lib/byte-buddy.jar:/usr/share/objenesis/lib/objenesis.jar @sources.lst >debug: java-pkg_get-javac: entering function, parameters: >debug: java-pkg_init-compiler_: entering function, parameters: >debug: Read "" from /etc/java-config-2/build/compilers.conf >debug: java-pkg_javac-args: entering function, parameters: >debug: want source: 1.8 >debug: want target: 1.8 > [32m*[0m Verbose logging for "ejavac" function > [32m*[0m Compiler executable: javac > [32m*[0m Extra arguments: -source 1.8 -target 1.8 > [32m*[0m Complete command: > [32m*[0m javac -source 1.8 -target 1.8 -d target/classes -encoding UTF-8 -classpath /usr/share/junit-4/lib/junit.jar:/usr/share/hamcrest-core-1.3/lib/hamcrest-core.jar:/usr/share/opentest4j/lib/opentest4j.jar:/usr/share/assertj-core-3/lib/assertj-core.jar:/usr/share/junit-4/lib/junit.jar:/usr/share/hamcrest-core-1.3/lib/hamcrest-core.jar:/usr/share/byte-buddy/lib/byte-buddy-agent.jar:/usr/share/byte-buddy/lib/byte-buddy.jar:/usr/share/asm-9/lib/asm.jar:/usr/share/asm-9/lib/asm-tree.jar:/usr/share/asm-9/lib/asm-analysis.jar:/usr/share/asm-9/lib/asm-commons.jar:/usr/share/asm-9/lib/asm-util.jar:/usr/share/byte-buddy/lib/byte-buddy-agent.jar:/usr/share/byte-buddy/lib/byte-buddy.jar:/usr/share/objenesis/lib/objenesis.jar @sources.lst >javac -source 1.8 -target 1.8 -d target/classes -encoding UTF-8 -classpath /usr/share/junit-4/lib/junit.jar:/usr/share/hamcrest-core-1.3/lib/hamcrest-core.jar:/usr/share/opentest4j/lib/opentest4j.jar:/usr/share/assertj-core-3/lib/assertj-core.jar:/usr/share/junit-4/lib/junit.jar:/usr/share/hamcrest-core-1.3/lib/hamcrest-core.jar:/usr/share/byte-buddy/lib/byte-buddy-agent.jar:/usr/share/byte-buddy/lib/byte-buddy.jar:/usr/share/asm-9/lib/asm.jar:/usr/share/asm-9/lib/asm-tree.jar:/usr/share/asm-9/lib/asm-analysis.jar:/usr/share/asm-9/lib/asm-commons.jar:/usr/share/asm-9/lib/asm-util.jar:/usr/share/byte-buddy/lib/byte-buddy-agent.jar:/usr/share/byte-buddy/lib/byte-buddy.jar:/usr/share/objenesis/lib/objenesis.jar @sources.lst >warning: [options] bootstrap class path not set in conjunction with -source 8 >Note: Some input files use or override a deprecated API. >Note: Recompile with -Xlint:deprecation for details. >Note: Some input files use unchecked or unsafe operations. >Note: Recompile with -Xlint:unchecked for details. >1 warning >updated manifest >adding: org/mockito/internal/creation/bytebuddy/inject/MockMethodDispatcher.raw(in = 1529) (out= 628)(deflated 58%) >>>> Source compiled. >>>> Test phase: dev-java/mockito-2.28.2 >debug: java-pkg-simple_getclasspath: entering function, parameters: >debug: java-pkg_getjars: entering function, parameters: --build-only --with-dependencies junit-4 >debug: junit-4:/usr/share/junit-4/lib/junit.jar:/usr/share/hamcrest-core-1.3/lib/hamcrest-core.jar >debug: java-pkg_ensure-dep: entering function, parameters: build junit-4 >debug: Matching against: /junit(-4(-[^:]+)?:0|(-[^:]+)?:4)\b >debug: java-pkg_record-jar_: entering function, parameters: --build-only junit-4 >debug: java-pkg_getjars: entering function, parameters: --build-only --with-dependencies opentest4j >debug: opentest4j:/usr/share/opentest4j/lib/opentest4j.jar >debug: java-pkg_ensure-dep: entering function, parameters: build opentest4j >debug: Matching against: /(opentest4j(-[^:]+)?:0|(-[^:]+)?:opentest4j)\b >debug: java-pkg_record-jar_: entering function, parameters: --build-only opentest4j >debug: java-pkg_getjars: entering function, parameters: --build-only --with-dependencies assertj-core-3,junit-4 >debug: assertj-core-3,junit-4:/usr/share/assertj-core-3/lib/assertj-core.jar:/usr/share/junit-4/lib/junit.jar:/usr/share/hamcrest-core-1.3/lib/hamcrest-core.jar:/usr/share/byte-buddy/lib/byte-buddy-agent.jar:/usr/share/byte-buddy/lib/byte-buddy.jar >debug: java-pkg_ensure-dep: entering function, parameters: build assertj-core-3 >debug: Matching against: /assertj-core(-3(-[^:]+)?:0|(-[^:]+)?:3)\b >debug: java-pkg_ensure-dep: entering function, parameters: build junit-4 >debug: Matching against: /junit(-4(-[^:]+)?:0|(-[^:]+)?:4)\b >debug: java-pkg_record-jar_: entering function, parameters: --build-only assertj-core-3 >debug: java-pkg_record-jar_: entering function, parameters: --build-only junit-4 >debug: java-pkg_getjars: entering function, parameters: --with-dependencies asm-9,byte-buddy,objenesis >debug: asm-9,byte-buddy,objenesis:/usr/share/asm-9/lib/asm.jar:/usr/share/asm-9/lib/asm-tree.jar:/usr/share/asm-9/lib/asm-analysis.jar:/usr/share/asm-9/lib/asm-commons.jar:/usr/share/asm-9/lib/asm-util.jar:/usr/share/byte-buddy/lib/byte-buddy-agent.jar:/usr/share/byte-buddy/lib/byte-buddy.jar:/usr/share/objenesis/lib/objenesis.jar >debug: java-pkg_ensure-dep: entering function, parameters: build asm-9 >debug: Matching against: /asm(-9(-[^:]+)?:0|(-[^:]+)?:9)\b >debug: java-pkg_ensure-dep: entering function, parameters: build byte-buddy >debug: Matching against: /byte(-buddy(-[^:]+)?:0|(-[^:]+)?:buddy)\b >debug: java-pkg_ensure-dep: entering function, parameters: build objenesis >debug: Matching against: /(objenesis(-[^:]+)?:0|(-[^:]+)?:objenesis)\b >debug: java-pkg_record-jar_: entering function, parameters: --build-only asm-9 >debug: java-pkg_record-jar_: entering function, parameters: --build-only byte-buddy >debug: java-pkg_record-jar_: entering function, parameters: --build-only objenesis >debug: CLASSPATH=target/test-classes:mockito.jar:/usr/share/junit-4/lib/junit.jar:/usr/share/hamcrest-core-1.3/lib/hamcrest-core.jar:/usr/share/opentest4j/lib/opentest4j.jar:/usr/share/assertj-core-3/lib/assertj-core.jar:/usr/share/junit-4/lib/junit.jar:/usr/share/hamcrest-core-1.3/lib/hamcrest-core.jar:/usr/share/byte-buddy/lib/byte-buddy-agent.jar:/usr/share/byte-buddy/lib/byte-buddy.jar:/usr/share/asm-9/lib/asm.jar:/usr/share/asm-9/lib/asm-tree.jar:/usr/share/asm-9/lib/asm-analysis.jar:/usr/share/asm-9/lib/asm-commons.jar:/usr/share/asm-9/lib/asm-util.jar:/usr/share/byte-buddy/lib/byte-buddy-agent.jar:/usr/share/byte-buddy/lib/byte-buddy.jar:/usr/share/objenesis/lib/objenesis.jar >debug: java-pkg-simple_prepend_resources: entering function, parameters: target/test-classes >debug: ejavac: entering function, parameters: -d target/test-classes -encoding UTF-8 -classpath target/test-classes:mockito.jar:/usr/share/junit-4/lib/junit.jar:/usr/share/hamcrest-core-1.3/lib/hamcrest-core.jar:/usr/share/opentest4j/lib/opentest4j.jar:/usr/share/assertj-core-3/lib/assertj-core.jar:/usr/share/junit-4/lib/junit.jar:/usr/share/hamcrest-core-1.3/lib/hamcrest-core.jar:/usr/share/byte-buddy/lib/byte-buddy-agent.jar:/usr/share/byte-buddy/lib/byte-buddy.jar:/usr/share/asm-9/lib/asm.jar:/usr/share/asm-9/lib/asm-tree.jar:/usr/share/asm-9/lib/asm-analysis.jar:/usr/share/asm-9/lib/asm-commons.jar:/usr/share/asm-9/lib/asm-util.jar:/usr/share/byte-buddy/lib/byte-buddy-agent.jar:/usr/share/byte-buddy/lib/byte-buddy.jar:/usr/share/objenesis/lib/objenesis.jar @test_sources.lst >debug: java-pkg_get-javac: entering function, parameters: >debug: java-pkg_init-compiler_: entering function, parameters: >debug: Read "" from /etc/java-config-2/build/compilers.conf >debug: java-pkg_javac-args: entering function, parameters: >debug: want source: 1.8 >debug: want target: 1.8 > [32m*[0m Verbose logging for "ejavac" function > [32m*[0m Compiler executable: javac > [32m*[0m Extra arguments: -source 1.8 -target 1.8 > [32m*[0m Complete command: > [32m*[0m javac -source 1.8 -target 1.8 -d target/test-classes -encoding UTF-8 -classpath target/test-classes:mockito.jar:/usr/share/junit-4/lib/junit.jar:/usr/share/hamcrest-core-1.3/lib/hamcrest-core.jar:/usr/share/opentest4j/lib/opentest4j.jar:/usr/share/assertj-core-3/lib/assertj-core.jar:/usr/share/junit-4/lib/junit.jar:/usr/share/hamcrest-core-1.3/lib/hamcrest-core.jar:/usr/share/byte-buddy/lib/byte-buddy-agent.jar:/usr/share/byte-buddy/lib/byte-buddy.jar:/usr/share/asm-9/lib/asm.jar:/usr/share/asm-9/lib/asm-tree.jar:/usr/share/asm-9/lib/asm-analysis.jar:/usr/share/asm-9/lib/asm-commons.jar:/usr/share/asm-9/lib/asm-util.jar:/usr/share/byte-buddy/lib/byte-buddy-agent.jar:/usr/share/byte-buddy/lib/byte-buddy.jar:/usr/share/objenesis/lib/objenesis.jar @test_sources.lst >javac -source 1.8 -target 1.8 -d target/test-classes -encoding UTF-8 -classpath target/test-classes:mockito.jar:/usr/share/junit-4/lib/junit.jar:/usr/share/hamcrest-core-1.3/lib/hamcrest-core.jar:/usr/share/opentest4j/lib/opentest4j.jar:/usr/share/assertj-core-3/lib/assertj-core.jar:/usr/share/junit-4/lib/junit.jar:/usr/share/hamcrest-core-1.3/lib/hamcrest-core.jar:/usr/share/byte-buddy/lib/byte-buddy-agent.jar:/usr/share/byte-buddy/lib/byte-buddy.jar:/usr/share/asm-9/lib/asm.jar:/usr/share/asm-9/lib/asm-tree.jar:/usr/share/asm-9/lib/asm-analysis.jar:/usr/share/asm-9/lib/asm-commons.jar:/usr/share/asm-9/lib/asm-util.jar:/usr/share/byte-buddy/lib/byte-buddy-agent.jar:/usr/share/byte-buddy/lib/byte-buddy.jar:/usr/share/objenesis/lib/objenesis.jar @test_sources.lst >warning: [options] bootstrap class path not set in conjunction with -source 8 >src/test/java/org/mockitousage/verification/VerificationStartedListenerTest.java:110: warning: non-varargs call of varargs method with inexact argument type for last parameter; > Mockito.withSettings().verificationStartedListeners(null); > ^ > cast to VerificationStartedListener for a varargs call > cast to VerificationStartedListener[] for a non-varargs call and to suppress this warning >src/test/java/org/mockitousage/stubbing/ReturningDefaultValuesTest.java:42: warning: [removal] Byte(byte) in Byte has been deprecated and marked for removal > assertEquals(new Byte((byte) 0), mock.byteObjectReturningMethod()); > ^ >src/test/java/org/mockitousage/stubbing/ReturningDefaultValuesTest.java:43: warning: [removal] Short(short) in Short has been deprecated and marked for removal > assertEquals(new Short((short) 0), mock.shortObjectReturningMethod()); > ^ >src/test/java/org/mockitousage/stubbing/ReturningDefaultValuesTest.java:44: warning: [removal] Integer(int) in Integer has been deprecated and marked for removal > assertEquals(new Integer(0), mock.integerReturningMethod()); > ^ >src/test/java/org/mockitousage/stubbing/ReturningDefaultValuesTest.java:45: warning: [removal] Long(long) in Long has been deprecated and marked for removal > assertEquals(new Long(0L), mock.longObjectReturningMethod()); > ^ >src/test/java/org/mockitousage/stubbing/ReturningDefaultValuesTest.java:46: warning: [removal] Float(float) in Float has been deprecated and marked for removal > assertEquals(new Float(0.0F), mock.floatObjectReturningMethod(), 0.0F); > ^ >src/test/java/org/mockitousage/stubbing/ReturningDefaultValuesTest.java:47: warning: [removal] Double(double) in Double has been deprecated and marked for removal > assertEquals(new Double(0.0D), mock.doubleObjectReturningMethod(), 0.0D); > ^ >src/test/java/org/mockitousage/stubbing/ReturningDefaultValuesTest.java:48: warning: [removal] Character(char) in Character has been deprecated and marked for removal > assertEquals(new Character((char) 0), mock.charObjectReturningMethod()); > ^ >src/test/java/org/mockitousage/stubbing/ReturningDefaultValuesTest.java:49: warning: [removal] Boolean(boolean) in Boolean has been deprecated and marked for removal > assertEquals(new Boolean(false), mock.booleanObjectReturningMethod()); > ^ >src/test/java/org/mockitousage/matchers/MatchersTest.java:364: warning: [removal] Integer(int) in Integer has been deprecated and marked for removal > when(mock.oneArray(aryEq(new Object[]{"Test", new Integer(4)}))).thenReturn("9"); > ^ >src/test/java/org/mockitousage/matchers/MatchersTest.java:375: warning: [removal] Integer(int) in Integer has been deprecated and marked for removal > assertEquals("9", mock.oneArray(new Object[]{"Test", new Integer(4)})); > ^ >src/test/java/org/mockitousage/matchers/MatchersTest.java:377: warning: [removal] Integer(int) in Integer has been deprecated and marked for removal > assertEquals(null, mock.oneArray(new Object[]{"Test", new Integer(999)})); > ^ >src/test/java/org/mockitousage/matchers/MatchersTest.java:378: warning: [removal] Integer(int) in Integer has been deprecated and marked for removal > assertEquals(null, mock.oneArray(new Object[]{"Test", new Integer(4), "x"})); > ^ >src/test/java/org/mockitousage/jls/JLS_15_12_2_5Test.java:90: warning: non-varargs call of varargs method with inexact argument type for last parameter; > assertThat(mock.varargs(null)).describedAs("Most generic method chosen for matcher " + > ^ > cast to String for a varargs call > cast to String[] for a non-varargs call and to suppress this warning >src/test/java/org/mockitousage/jls/JLS_15_12_2_5Test.java:102: warning: non-varargs call of varargs method with inexact argument type for last parameter; > assertThat(mock.varargs(null)).describedAs("Most specific method enforced for matcher via String cast").isEqualTo("ok"); > ^ > cast to String for a varargs call > cast to String[] for a non-varargs call and to suppress this warning >src/test/java/org/mockitousage/jls/JLS_15_12_2_5Test.java:111: warning: non-varargs call of varargs method with inexact argument type for last parameter; > assertThat(mock.varargs(null)).describedAs("Most specific method enforced for matcher via String[] cast").isEqualTo("ok"); > ^ > cast to String for a varargs call > cast to String[] for a non-varargs call and to suppress this warning >src/test/java/org/mockitousage/jls/JLS_15_12_2_5Test.java:212: warning: non-varargs call of varargs method with inexact argument type for last parameter; > assertThat(mock.varargs(null)).describedAs("Most specific method chosen for matcher and for null").isEqualTo("ok"); > ^ > cast to String for a varargs call > cast to String[] for a non-varargs call and to suppress this warning >src/test/java/org/mockitousage/constructor/CreatingMocksWithConstructorTest.java:91: warning: non-varargs call of varargs method with inexact argument type for last parameter; > mock(AbstractMessage.class, withSettings().useConstructor(null).defaultAnswer(CALLS_REAL_METHODS)); > ^ > cast to Object for a varargs call > cast to Object[] for a non-varargs call and to suppress this warning >src/test/java/org/mockitousage/bugs/NPEWithCertainMatchersTest.java:44: warning: [removal] Integer(int) in Integer has been deprecated and marked for removal > verify(mock).intArgumentMethod(eq(new Integer(100))); > ^ >src/test/java/org/mockitousage/bugs/NPEWithCertainMatchersTest.java:51: warning: [removal] Integer(int) in Integer has been deprecated and marked for removal > verify(mock, never()).intArgumentMethod(same(new Integer(100))); > ^ >src/test/java/org/mockitousage/basicapi/UsingVarargsTest.java:92: warning: [removal] Integer(int) in Integer has been deprecated and marked for removal > mock.withObjectVarargs(2, "1", new ArrayList<Object>(), new Integer(1)); > ^ >src/test/java/org/mockitousage/basicapi/UsingVarargsTest.java:93: warning: [removal] Integer(int) in Integer has been deprecated and marked for removal > mock.withObjectVarargs(3, new Integer(1)); > ^ >src/test/java/org/mockitousage/basicapi/UsingVarargsTest.java:96: warning: [removal] Integer(int) in Integer has been deprecated and marked for removal > verify(mock).withObjectVarargs(2, "1", new ArrayList<Object>(), new Integer(1)); > ^ >src/test/java/org/mockito/internal/verification/argumentmatching/ArgumentMatchingToolTest.java:58: warning: [removal] Integer(int) in Integer has been deprecated and marked for removal > assertEquals(new Integer(1), suspicious[0]); > ^ >src/test/java/org/mockito/internal/matchers/apachecommons/EqualsBuilderTest.java:952: warning: [removal] Integer(int) in Integer has been deprecated and marked for removal > Object[] x1 = new Object[] { new Integer(1), null, new Integer(3) }; > ^ >src/test/java/org/mockito/internal/matchers/apachecommons/EqualsBuilderTest.java:952: warning: [removal] Integer(int) in Integer has been deprecated and marked for removal > Object[] x1 = new Object[] { new Integer(1), null, new Integer(3) }; > ^ >src/test/java/org/mockito/internal/matchers/apachecommons/EqualsBuilderTest.java:953: warning: [removal] Integer(int) in Integer has been deprecated and marked for removal > Object[] x2 = new Object[] { new Integer(1), new Integer(2), new Integer(3) }; > ^ >src/test/java/org/mockito/internal/matchers/apachecommons/EqualsBuilderTest.java:953: warning: [removal] Integer(int) in Integer has been deprecated and marked for removal > Object[] x2 = new Object[] { new Integer(1), new Integer(2), new Integer(3) }; > ^ >src/test/java/org/mockito/internal/matchers/apachecommons/EqualsBuilderTest.java:953: warning: [removal] Integer(int) in Integer has been deprecated and marked for removal > Object[] x2 = new Object[] { new Integer(1), new Integer(2), new Integer(3) }; > ^ >src/test/java/org/mockito/internal/matchers/InstanceOfTest.java:37: warning: [removal] Integer(int) in Integer has been deprecated and marked for removal > assertThat(new InstanceOf(int.class).matches(new Integer(1000))).isTrue(); > ^ >src/test/java/org/mockito/internal/matchers/InstanceOfTest.java:38: warning: [removal] Integer(int) in Integer has been deprecated and marked for removal > assertThat(new InstanceOf(Integer.class).matches(new Integer(1000))).isTrue(); > ^ >src/test/java/org/mockito/internal/matchers/InstanceOfTest.java:42: warning: [removal] Double(double) in Double has been deprecated and marked for removal > assertThat(new InstanceOf(double.class).matches(new Double(1000.1))).isTrue(); > ^ >src/test/java/org/mockito/internal/matchers/InstanceOfTest.java:43: warning: [removal] Double(double) in Double has been deprecated and marked for removal > assertThat(new InstanceOf(Double.class).matches(new Double(1000.1))).isTrue(); > ^ >src/test/java/org/mockito/internal/matchers/InstanceOfTest.java:47: warning: [removal] Long(long) in Long has been deprecated and marked for removal > assertThat(new InstanceOf(int.class).matches(new Long(1000))).isFalse(); > ^ >src/test/java/org/mockito/internal/matchers/InstanceOfTest.java:48: warning: [removal] Long(long) in Long has been deprecated and marked for removal > assertThat(new InstanceOf(Integer.class).matches(new Long(1000))).isFalse(); > ^ >src/test/java/org/mockito/internal/matchers/InstanceOfTest.java:52: warning: [removal] Long(long) in Long has been deprecated and marked for removal > assertThat(new InstanceOf(long.class).matches(new Long(1000))).isTrue(); > ^ >src/test/java/org/mockito/internal/matchers/InstanceOfTest.java:53: warning: [removal] Long(long) in Long has been deprecated and marked for removal > assertThat(new InstanceOf(Long.class).matches(new Long(1000))).isTrue(); > ^ >src/test/java/org/mockito/internal/matchers/InstanceOfTest.java:57: warning: [removal] Integer(int) in Integer has been deprecated and marked for removal > assertThat(new InstanceOf(long.class).matches(new Integer(1000))).isFalse(); > ^ >src/test/java/org/mockito/internal/matchers/InstanceOfTest.java:58: warning: [removal] Integer(int) in Integer has been deprecated and marked for removal > assertThat(new InstanceOf(Long.class).matches(new Integer(1000))).isFalse(); > ^ >src/test/java/org/mockito/internal/matchers/EqualsTest.java:19: warning: [removal] Integer(int) in Integer has been deprecated and marked for removal > assertEquals(new Equals(new Integer(2)), new Equals(new Integer(2))); > ^ >src/test/java/org/mockito/internal/matchers/EqualsTest.java:19: warning: [removal] Integer(int) in Integer has been deprecated and marked for removal > assertEquals(new Equals(new Integer(2)), new Equals(new Integer(2))); > ^ >src/test/java/org/mockito/internal/creation/MockSettingsImplTest.java:179: warning: non-varargs call of varargs method with inexact argument type for last parameter; > mockSettingsImpl.stubbingLookupListeners(null); > ^ > cast to StubbingLookupListener for a varargs call > cast to StubbingLookupListener[] for a non-varargs call and to suppress this warning >src/test/java/org/mockito/internal/creation/MockSettingsImplTest.java:200: warning: non-varargs call of varargs method with inexact argument type for last parameter; > mockSettingsImpl.invocationListeners(null); > ^ > cast to InvocationListener for a varargs call > cast to InvocationListener[] for a non-varargs call and to suppress this warning >Note: Some input files use or override a deprecated API. >Note: Recompile with -Xlint:deprecation for details. >Note: Some input files use unchecked or unsafe operations. >Note: Recompile with -Xlint:unchecked for details. >44 warnings >debug: ejunit4: entering function, parameters: -classpath target/test-classes:mockito.jar:/usr/share/junit-4/lib/junit.jar:/usr/share/hamcrest-core-1.3/lib/hamcrest-core.jar:/usr/share/opentest4j/lib/opentest4j.jar:/usr/share/assertj-core-3/lib/assertj-core.jar:/usr/share/junit-4/lib/junit.jar:/usr/share/hamcrest-core-1.3/lib/hamcrest-core.jar:/usr/share/byte-buddy/lib/byte-buddy-agent.jar:/usr/share/byte-buddy/lib/byte-buddy.jar:/usr/share/asm-9/lib/asm.jar:/usr/share/asm-9/lib/asm-tree.jar:/usr/share/asm-9/lib/asm-analysis.jar:/usr/share/asm-9/lib/asm-commons.jar:/usr/share/asm-9/lib/asm-util.jar:/usr/share/byte-buddy/lib/byte-buddy-agent.jar:/usr/share/byte-buddy/lib/byte-buddy.jar:/usr/share/objenesis/lib/objenesis.jar org.mockito.internal.junit.JUnitRuleTest >debug: ejunit_: entering function, parameters: junit-4 -classpath target/test-classes:mockito.jar:/usr/share/junit-4/lib/junit.jar:/usr/share/hamcrest-core-1.3/lib/hamcrest-core.jar:/usr/share/opentest4j/lib/opentest4j.jar:/usr/share/assertj-core-3/lib/assertj-core.jar:/usr/share/junit-4/lib/junit.jar:/usr/share/hamcrest-core-1.3/lib/hamcrest-core.jar:/usr/share/byte-buddy/lib/byte-buddy-agent.jar:/usr/share/byte-buddy/lib/byte-buddy.jar:/usr/share/asm-9/lib/asm.jar:/usr/share/asm-9/lib/asm-tree.jar:/usr/share/asm-9/lib/asm-analysis.jar:/usr/share/asm-9/lib/asm-commons.jar:/usr/share/asm-9/lib/asm-util.jar:/usr/share/byte-buddy/lib/byte-buddy-agent.jar:/usr/share/byte-buddy/lib/byte-buddy.jar:/usr/share/objenesis/lib/objenesis.jar org.mockito.internal.junit.JUnitRuleTest >debug: java-pkg_getjars: entering function, parameters: --with-dependencies junit-4,asm-9,byte-buddy,objenesis >debug: junit-4,asm-9,byte-buddy,objenesis:/usr/share/junit-4/lib/junit.jar:/usr/share/asm-9/lib/asm.jar:/usr/share/asm-9/lib/asm-tree.jar:/usr/share/asm-9/lib/asm-analysis.jar:/usr/share/asm-9/lib/asm-commons.jar:/usr/share/asm-9/lib/asm-util.jar:/usr/share/byte-buddy/lib/byte-buddy-agent.jar:/usr/share/byte-buddy/lib/byte-buddy.jar:/usr/share/objenesis/lib/objenesis.jar:/usr/share/hamcrest-core-1.3/lib/hamcrest-core.jar >debug: java-pkg_ensure-dep: entering function, parameters: build junit-4 >debug: Matching against: /junit(-4(-[^:]+)?:0|(-[^:]+)?:4)\b >debug: java-pkg_ensure-dep: entering function, parameters: build asm-9 >debug: Matching against: /asm(-9(-[^:]+)?:0|(-[^:]+)?:9)\b >debug: java-pkg_ensure-dep: entering function, parameters: build byte-buddy >debug: Matching against: /byte(-buddy(-[^:]+)?:0|(-[^:]+)?:buddy)\b >debug: java-pkg_ensure-dep: entering function, parameters: build objenesis >debug: Matching against: /(objenesis(-[^:]+)?:0|(-[^:]+)?:objenesis)\b >debug: java-pkg_record-jar_: entering function, parameters: --build-only junit-4 >debug: java-pkg_record-jar_: entering function, parameters: --build-only asm-9 >debug: java-pkg_record-jar_: entering function, parameters: --build-only byte-buddy >debug: java-pkg_record-jar_: entering function, parameters: --build-only objenesis >debug: Calling: java -cp >debug: target/test-classes:mockito.jar:/usr/share/junit-4/lib/junit.jar:/usr/share/hamcrest-core-1.3/lib/hamcrest-core.jar:/usr/share/opentest4j/lib/opentest4j.jar:/usr/share/assertj-core-3/lib/assertj-core.jar:/usr/share/junit-4/lib/junit.jar:/usr/share/hamcrest-core-1.3/lib/hamcrest-core.jar:/usr/share/byte-buddy/lib/byte-buddy-agent.jar:/usr/share/byte-buddy/lib/byte-buddy.jar:/usr/share/asm-9/lib/asm.jar:/usr/share/asm-9/lib/asm-tree.jar:/usr/share/asm-9/lib/asm-analysis.jar:/usr/share/asm-9/lib/asm-commons.jar:/usr/share/asm-9/lib/asm-util.jar:/usr/share/byte-buddy/lib/byte-buddy-agent.jar:/usr/share/byte-buddy/lib/byte-buddy.jar:/usr/share/objenesis/lib/objenesis.jar:/usr/share/junit-4/lib/junit.jar:/usr/share/asm-9/lib/asm.jar:/usr/share/asm-9/lib/asm-tree.jar:/usr/share/asm-9/lib/asm-analysis.jar:/usr/share/asm-9/lib/asm-commons.jar:/usr/share/asm-9/lib/asm-util.jar:/usr/share/byte-buddy/lib/byte-buddy-agent.jar:/usr/share/byte-buddy/lib/byte-buddy.jar:/usr/share/objenesis/lib/objenesis.jar:/usr/share/hamcrest-core-1.3/lib/hamcrest-core.jar >debug: -Djava.io.tmpdir=/var/tmp/portage/dev-java/mockito-2.28.2/temp >debug: -Djava.awt.headless=true >debug: --add-opens=java.base/java.io=ALL-UNNAMED >debug: --add-opens=java.base/java.lang=ALL-UNNAMED >debug: --add-opens=java.base/sun.reflect.generics.reflectiveObjects=ALL-UNNAMED >debug: org.junit.runner.JUnitCore >debug: org.mockito.internal.junit.JUnitRuleTest >JUnit version 4.13.2-SNAPSHOT >.... >Time: 0.572 > >OK (4 tests) > >debug: java-pkg-simple_getclasspath: entering function, parameters: >debug: java-pkg_getjars: entering function, parameters: --build-only --with-dependencies junit-4 >debug: junit-4:/usr/share/junit-4/lib/junit.jar:/usr/share/hamcrest-core-1.3/lib/hamcrest-core.jar >debug: java-pkg_ensure-dep: entering function, parameters: build junit-4 >debug: Matching against: /junit(-4(-[^:]+)?:0|(-[^:]+)?:4)\b >debug: java-pkg_record-jar_: entering function, parameters: --build-only junit-4 >debug: java-pkg_getjars: entering function, parameters: --build-only --with-dependencies opentest4j >debug: opentest4j:/usr/share/opentest4j/lib/opentest4j.jar >debug: java-pkg_ensure-dep: entering function, parameters: build opentest4j >debug: Matching against: /(opentest4j(-[^:]+)?:0|(-[^:]+)?:opentest4j)\b >debug: java-pkg_record-jar_: entering function, parameters: --build-only opentest4j >debug: java-pkg_getjars: entering function, parameters: --build-only --with-dependencies assertj-core-3,junit-4 >debug: assertj-core-3,junit-4:/usr/share/assertj-core-3/lib/assertj-core.jar:/usr/share/junit-4/lib/junit.jar:/usr/share/hamcrest-core-1.3/lib/hamcrest-core.jar:/usr/share/byte-buddy/lib/byte-buddy-agent.jar:/usr/share/byte-buddy/lib/byte-buddy.jar >debug: java-pkg_ensure-dep: entering function, parameters: build assertj-core-3 >debug: Matching against: /assertj-core(-3(-[^:]+)?:0|(-[^:]+)?:3)\b >debug: java-pkg_ensure-dep: entering function, parameters: build junit-4 >debug: Matching against: /junit(-4(-[^:]+)?:0|(-[^:]+)?:4)\b >debug: java-pkg_record-jar_: entering function, parameters: --build-only assertj-core-3 >debug: java-pkg_record-jar_: entering function, parameters: --build-only junit-4 >debug: java-pkg_getjars: entering function, parameters: --with-dependencies asm-9,byte-buddy,objenesis >debug: asm-9,byte-buddy,objenesis:/usr/share/asm-9/lib/asm.jar:/usr/share/asm-9/lib/asm-tree.jar:/usr/share/asm-9/lib/asm-analysis.jar:/usr/share/asm-9/lib/asm-commons.jar:/usr/share/asm-9/lib/asm-util.jar:/usr/share/byte-buddy/lib/byte-buddy-agent.jar:/usr/share/byte-buddy/lib/byte-buddy.jar:/usr/share/objenesis/lib/objenesis.jar >debug: java-pkg_ensure-dep: entering function, parameters: build asm-9 >debug: Matching against: /asm(-9(-[^:]+)?:0|(-[^:]+)?:9)\b >debug: java-pkg_ensure-dep: entering function, parameters: build byte-buddy >debug: Matching against: /byte(-buddy(-[^:]+)?:0|(-[^:]+)?:buddy)\b >debug: java-pkg_ensure-dep: entering function, parameters: build objenesis >debug: Matching against: /(objenesis(-[^:]+)?:0|(-[^:]+)?:objenesis)\b >debug: java-pkg_record-jar_: entering function, parameters: --build-only asm-9 >debug: java-pkg_record-jar_: entering function, parameters: --build-only byte-buddy >debug: java-pkg_record-jar_: entering function, parameters: --build-only objenesis >debug: CLASSPATH=target/test-classes:mockito.jar:/usr/share/junit-4/lib/junit.jar:/usr/share/hamcrest-core-1.3/lib/hamcrest-core.jar:/usr/share/opentest4j/lib/opentest4j.jar:/usr/share/assertj-core-3/lib/assertj-core.jar:/usr/share/junit-4/lib/junit.jar:/usr/share/hamcrest-core-1.3/lib/hamcrest-core.jar:/usr/share/byte-buddy/lib/byte-buddy-agent.jar:/usr/share/byte-buddy/lib/byte-buddy.jar:/usr/share/asm-9/lib/asm.jar:/usr/share/asm-9/lib/asm-tree.jar:/usr/share/asm-9/lib/asm-analysis.jar:/usr/share/asm-9/lib/asm-commons.jar:/usr/share/asm-9/lib/asm-util.jar:/usr/share/byte-buddy/lib/byte-buddy-agent.jar:/usr/share/byte-buddy/lib/byte-buddy.jar:/usr/share/objenesis/lib/objenesis.jar >debug: java-pkg-simple_prepend_resources: entering function, parameters: target/test-classes >debug: ejavac: entering function, parameters: -d target/test-classes -encoding UTF-8 -classpath target/test-classes:mockito.jar:/usr/share/junit-4/lib/junit.jar:/usr/share/hamcrest-core-1.3/lib/hamcrest-core.jar:/usr/share/opentest4j/lib/opentest4j.jar:/usr/share/assertj-core-3/lib/assertj-core.jar:/usr/share/junit-4/lib/junit.jar:/usr/share/hamcrest-core-1.3/lib/hamcrest-core.jar:/usr/share/byte-buddy/lib/byte-buddy-agent.jar:/usr/share/byte-buddy/lib/byte-buddy.jar:/usr/share/asm-9/lib/asm.jar:/usr/share/asm-9/lib/asm-tree.jar:/usr/share/asm-9/lib/asm-analysis.jar:/usr/share/asm-9/lib/asm-commons.jar:/usr/share/asm-9/lib/asm-util.jar:/usr/share/byte-buddy/lib/byte-buddy-agent.jar:/usr/share/byte-buddy/lib/byte-buddy.jar:/usr/share/objenesis/lib/objenesis.jar @test_sources.lst >debug: java-pkg_get-javac: entering function, parameters: >debug: java-pkg_init-compiler_: entering function, parameters: >debug: Read "" from /etc/java-config-2/build/compilers.conf >debug: java-pkg_javac-args: entering function, parameters: >debug: want source: 1.8 >debug: want target: 1.8 > [32m*[0m Verbose logging for "ejavac" function > [32m*[0m Compiler executable: javac > [32m*[0m Extra arguments: -source 1.8 -target 1.8 > [32m*[0m Complete command: > [32m*[0m javac -source 1.8 -target 1.8 -d target/test-classes -encoding UTF-8 -classpath target/test-classes:mockito.jar:/usr/share/junit-4/lib/junit.jar:/usr/share/hamcrest-core-1.3/lib/hamcrest-core.jar:/usr/share/opentest4j/lib/opentest4j.jar:/usr/share/assertj-core-3/lib/assertj-core.jar:/usr/share/junit-4/lib/junit.jar:/usr/share/hamcrest-core-1.3/lib/hamcrest-core.jar:/usr/share/byte-buddy/lib/byte-buddy-agent.jar:/usr/share/byte-buddy/lib/byte-buddy.jar:/usr/share/asm-9/lib/asm.jar:/usr/share/asm-9/lib/asm-tree.jar:/usr/share/asm-9/lib/asm-analysis.jar:/usr/share/asm-9/lib/asm-commons.jar:/usr/share/asm-9/lib/asm-util.jar:/usr/share/byte-buddy/lib/byte-buddy-agent.jar:/usr/share/byte-buddy/lib/byte-buddy.jar:/usr/share/objenesis/lib/objenesis.jar @test_sources.lst >javac -source 1.8 -target 1.8 -d target/test-classes -encoding UTF-8 -classpath target/test-classes:mockito.jar:/usr/share/junit-4/lib/junit.jar:/usr/share/hamcrest-core-1.3/lib/hamcrest-core.jar:/usr/share/opentest4j/lib/opentest4j.jar:/usr/share/assertj-core-3/lib/assertj-core.jar:/usr/share/junit-4/lib/junit.jar:/usr/share/hamcrest-core-1.3/lib/hamcrest-core.jar:/usr/share/byte-buddy/lib/byte-buddy-agent.jar:/usr/share/byte-buddy/lib/byte-buddy.jar:/usr/share/asm-9/lib/asm.jar:/usr/share/asm-9/lib/asm-tree.jar:/usr/share/asm-9/lib/asm-analysis.jar:/usr/share/asm-9/lib/asm-commons.jar:/usr/share/asm-9/lib/asm-util.jar:/usr/share/byte-buddy/lib/byte-buddy-agent.jar:/usr/share/byte-buddy/lib/byte-buddy.jar:/usr/share/objenesis/lib/objenesis.jar @test_sources.lst >warning: [options] bootstrap class path not set in conjunction with -source 8 >src/test/java/org/mockitousage/verification/VerificationStartedListenerTest.java:110: warning: non-varargs call of varargs method with inexact argument type for last parameter; > Mockito.withSettings().verificationStartedListeners(null); > ^ > cast to VerificationStartedListener for a varargs call > cast to VerificationStartedListener[] for a non-varargs call and to suppress this warning >src/test/java/org/mockitousage/stubbing/ReturningDefaultValuesTest.java:42: warning: [removal] Byte(byte) in Byte has been deprecated and marked for removal > assertEquals(new Byte((byte) 0), mock.byteObjectReturningMethod()); > ^ >src/test/java/org/mockitousage/stubbing/ReturningDefaultValuesTest.java:43: warning: [removal] Short(short) in Short has been deprecated and marked for removal > assertEquals(new Short((short) 0), mock.shortObjectReturningMethod()); > ^ >src/test/java/org/mockitousage/stubbing/ReturningDefaultValuesTest.java:44: warning: [removal] Integer(int) in Integer has been deprecated and marked for removal > assertEquals(new Integer(0), mock.integerReturningMethod()); > ^ >src/test/java/org/mockitousage/stubbing/ReturningDefaultValuesTest.java:45: warning: [removal] Long(long) in Long has been deprecated and marked for removal > assertEquals(new Long(0L), mock.longObjectReturningMethod()); > ^ >src/test/java/org/mockitousage/stubbing/ReturningDefaultValuesTest.java:46: warning: [removal] Float(float) in Float has been deprecated and marked for removal > assertEquals(new Float(0.0F), mock.floatObjectReturningMethod(), 0.0F); > ^ >src/test/java/org/mockitousage/stubbing/ReturningDefaultValuesTest.java:47: warning: [removal] Double(double) in Double has been deprecated and marked for removal > assertEquals(new Double(0.0D), mock.doubleObjectReturningMethod(), 0.0D); > ^ >src/test/java/org/mockitousage/stubbing/ReturningDefaultValuesTest.java:48: warning: [removal] Character(char) in Character has been deprecated and marked for removal > assertEquals(new Character((char) 0), mock.charObjectReturningMethod()); > ^ >src/test/java/org/mockitousage/stubbing/ReturningDefaultValuesTest.java:49: warning: [removal] Boolean(boolean) in Boolean has been deprecated and marked for removal > assertEquals(new Boolean(false), mock.booleanObjectReturningMethod()); > ^ >src/test/java/org/mockitousage/matchers/MatchersTest.java:364: warning: [removal] Integer(int) in Integer has been deprecated and marked for removal > when(mock.oneArray(aryEq(new Object[]{"Test", new Integer(4)}))).thenReturn("9"); > ^ >src/test/java/org/mockitousage/matchers/MatchersTest.java:375: warning: [removal] Integer(int) in Integer has been deprecated and marked for removal > assertEquals("9", mock.oneArray(new Object[]{"Test", new Integer(4)})); > ^ >src/test/java/org/mockitousage/matchers/MatchersTest.java:377: warning: [removal] Integer(int) in Integer has been deprecated and marked for removal > assertEquals(null, mock.oneArray(new Object[]{"Test", new Integer(999)})); > ^ >src/test/java/org/mockitousage/matchers/MatchersTest.java:378: warning: [removal] Integer(int) in Integer has been deprecated and marked for removal > assertEquals(null, mock.oneArray(new Object[]{"Test", new Integer(4), "x"})); > ^ >src/test/java/org/mockitousage/jls/JLS_15_12_2_5Test.java:90: warning: non-varargs call of varargs method with inexact argument type for last parameter; > assertThat(mock.varargs(null)).describedAs("Most generic method chosen for matcher " + > ^ > cast to String for a varargs call > cast to String[] for a non-varargs call and to suppress this warning >src/test/java/org/mockitousage/jls/JLS_15_12_2_5Test.java:102: warning: non-varargs call of varargs method with inexact argument type for last parameter; > assertThat(mock.varargs(null)).describedAs("Most specific method enforced for matcher via String cast").isEqualTo("ok"); > ^ > cast to String for a varargs call > cast to String[] for a non-varargs call and to suppress this warning >src/test/java/org/mockitousage/jls/JLS_15_12_2_5Test.java:111: warning: non-varargs call of varargs method with inexact argument type for last parameter; > assertThat(mock.varargs(null)).describedAs("Most specific method enforced for matcher via String[] cast").isEqualTo("ok"); > ^ > cast to String for a varargs call > cast to String[] for a non-varargs call and to suppress this warning >src/test/java/org/mockitousage/jls/JLS_15_12_2_5Test.java:212: warning: non-varargs call of varargs method with inexact argument type for last parameter; > assertThat(mock.varargs(null)).describedAs("Most specific method chosen for matcher and for null").isEqualTo("ok"); > ^ > cast to String for a varargs call > cast to String[] for a non-varargs call and to suppress this warning >src/test/java/org/mockitousage/constructor/CreatingMocksWithConstructorTest.java:91: warning: non-varargs call of varargs method with inexact argument type for last parameter; > mock(AbstractMessage.class, withSettings().useConstructor(null).defaultAnswer(CALLS_REAL_METHODS)); > ^ > cast to Object for a varargs call > cast to Object[] for a non-varargs call and to suppress this warning >src/test/java/org/mockitousage/bugs/NPEWithCertainMatchersTest.java:44: warning: [removal] Integer(int) in Integer has been deprecated and marked for removal > verify(mock).intArgumentMethod(eq(new Integer(100))); > ^ >src/test/java/org/mockitousage/bugs/NPEWithCertainMatchersTest.java:51: warning: [removal] Integer(int) in Integer has been deprecated and marked for removal > verify(mock, never()).intArgumentMethod(same(new Integer(100))); > ^ >src/test/java/org/mockitousage/basicapi/UsingVarargsTest.java:92: warning: [removal] Integer(int) in Integer has been deprecated and marked for removal > mock.withObjectVarargs(2, "1", new ArrayList<Object>(), new Integer(1)); > ^ >src/test/java/org/mockitousage/basicapi/UsingVarargsTest.java:93: warning: [removal] Integer(int) in Integer has been deprecated and marked for removal > mock.withObjectVarargs(3, new Integer(1)); > ^ >src/test/java/org/mockitousage/basicapi/UsingVarargsTest.java:96: warning: [removal] Integer(int) in Integer has been deprecated and marked for removal > verify(mock).withObjectVarargs(2, "1", new ArrayList<Object>(), new Integer(1)); > ^ >src/test/java/org/mockito/internal/verification/argumentmatching/ArgumentMatchingToolTest.java:58: warning: [removal] Integer(int) in Integer has been deprecated and marked for removal > assertEquals(new Integer(1), suspicious[0]); > ^ >src/test/java/org/mockito/internal/matchers/apachecommons/EqualsBuilderTest.java:952: warning: [removal] Integer(int) in Integer has been deprecated and marked for removal > Object[] x1 = new Object[] { new Integer(1), null, new Integer(3) }; > ^ >src/test/java/org/mockito/internal/matchers/apachecommons/EqualsBuilderTest.java:952: warning: [removal] Integer(int) in Integer has been deprecated and marked for removal > Object[] x1 = new Object[] { new Integer(1), null, new Integer(3) }; > ^ >src/test/java/org/mockito/internal/matchers/apachecommons/EqualsBuilderTest.java:953: warning: [removal] Integer(int) in Integer has been deprecated and marked for removal > Object[] x2 = new Object[] { new Integer(1), new Integer(2), new Integer(3) }; > ^ >src/test/java/org/mockito/internal/matchers/apachecommons/EqualsBuilderTest.java:953: warning: [removal] Integer(int) in Integer has been deprecated and marked for removal > Object[] x2 = new Object[] { new Integer(1), new Integer(2), new Integer(3) }; > ^ >src/test/java/org/mockito/internal/matchers/apachecommons/EqualsBuilderTest.java:953: warning: [removal] Integer(int) in Integer has been deprecated and marked for removal > Object[] x2 = new Object[] { new Integer(1), new Integer(2), new Integer(3) }; > ^ >src/test/java/org/mockito/internal/matchers/InstanceOfTest.java:37: warning: [removal] Integer(int) in Integer has been deprecated and marked for removal > assertThat(new InstanceOf(int.class).matches(new Integer(1000))).isTrue(); > ^ >src/test/java/org/mockito/internal/matchers/InstanceOfTest.java:38: warning: [removal] Integer(int) in Integer has been deprecated and marked for removal > assertThat(new InstanceOf(Integer.class).matches(new Integer(1000))).isTrue(); > ^ >src/test/java/org/mockito/internal/matchers/InstanceOfTest.java:42: warning: [removal] Double(double) in Double has been deprecated and marked for removal > assertThat(new InstanceOf(double.class).matches(new Double(1000.1))).isTrue(); > ^ >src/test/java/org/mockito/internal/matchers/InstanceOfTest.java:43: warning: [removal] Double(double) in Double has been deprecated and marked for removal > assertThat(new InstanceOf(Double.class).matches(new Double(1000.1))).isTrue(); > ^ >src/test/java/org/mockito/internal/matchers/InstanceOfTest.java:47: warning: [removal] Long(long) in Long has been deprecated and marked for removal > assertThat(new InstanceOf(int.class).matches(new Long(1000))).isFalse(); > ^ >src/test/java/org/mockito/internal/matchers/InstanceOfTest.java:48: warning: [removal] Long(long) in Long has been deprecated and marked for removal > assertThat(new InstanceOf(Integer.class).matches(new Long(1000))).isFalse(); > ^ >src/test/java/org/mockito/internal/matchers/InstanceOfTest.java:52: warning: [removal] Long(long) in Long has been deprecated and marked for removal > assertThat(new InstanceOf(long.class).matches(new Long(1000))).isTrue(); > ^ >src/test/java/org/mockito/internal/matchers/InstanceOfTest.java:53: warning: [removal] Long(long) in Long has been deprecated and marked for removal > assertThat(new InstanceOf(Long.class).matches(new Long(1000))).isTrue(); > ^ >src/test/java/org/mockito/internal/matchers/InstanceOfTest.java:57: warning: [removal] Integer(int) in Integer has been deprecated and marked for removal > assertThat(new InstanceOf(long.class).matches(new Integer(1000))).isFalse(); > ^ >src/test/java/org/mockito/internal/matchers/InstanceOfTest.java:58: warning: [removal] Integer(int) in Integer has been deprecated and marked for removal > assertThat(new InstanceOf(Long.class).matches(new Integer(1000))).isFalse(); > ^ >src/test/java/org/mockito/internal/matchers/EqualsTest.java:19: warning: [removal] Integer(int) in Integer has been deprecated and marked for removal > assertEquals(new Equals(new Integer(2)), new Equals(new Integer(2))); > ^ >src/test/java/org/mockito/internal/matchers/EqualsTest.java:19: warning: [removal] Integer(int) in Integer has been deprecated and marked for removal > assertEquals(new Equals(new Integer(2)), new Equals(new Integer(2))); > ^ >src/test/java/org/mockito/internal/creation/MockSettingsImplTest.java:179: warning: non-varargs call of varargs method with inexact argument type for last parameter; > mockSettingsImpl.stubbingLookupListeners(null); > ^ > cast to StubbingLookupListener for a varargs call > cast to StubbingLookupListener[] for a non-varargs call and to suppress this warning >src/test/java/org/mockito/internal/creation/MockSettingsImplTest.java:200: warning: non-varargs call of varargs method with inexact argument type for last parameter; > mockSettingsImpl.invocationListeners(null); > ^ > cast to InvocationListener for a varargs call > cast to InvocationListener[] for a non-varargs call and to suppress this warning >Note: Some input files use or override a deprecated API. >Note: Recompile with -Xlint:deprecation for details. >Note: Some input files use unchecked or unsafe operations. >Note: Recompile with -Xlint:unchecked for details. >44 warnings >debug: ejunit4: entering function, parameters: -classpath target/test-classes:mockito.jar:/usr/share/junit-4/lib/junit.jar:/usr/share/hamcrest-core-1.3/lib/hamcrest-core.jar:/usr/share/opentest4j/lib/opentest4j.jar:/usr/share/assertj-core-3/lib/assertj-core.jar:/usr/share/junit-4/lib/junit.jar:/usr/share/hamcrest-core-1.3/lib/hamcrest-core.jar:/usr/share/byte-buddy/lib/byte-buddy-agent.jar:/usr/share/byte-buddy/lib/byte-buddy.jar:/usr/share/asm-9/lib/asm.jar:/usr/share/asm-9/lib/asm-tree.jar:/usr/share/asm-9/lib/asm-analysis.jar:/usr/share/asm-9/lib/asm-commons.jar:/usr/share/asm-9/lib/asm-util.jar:/usr/share/byte-buddy/lib/byte-buddy-agent.jar:/usr/share/byte-buddy/lib/byte-buddy.jar:/usr/share/objenesis/lib/objenesis.jar org.mockitoutil.async.AsyncTestingTest org.mockitoutil.SafeJUnitRuleTest org.mockitoutil.ClassLoadersTest org.mockitousage.verification.VerifyPrintsAllInvocationsOnErrorTest org.mockitousage.verification.VerificationWithTimeoutTest org.mockitousage.verification.VerificationWithAfterTest org.mockitousage.verification.VerificationWithAfterAndCaptorTest org.mockitousage.verification.VerificationUsingMatchersTest org.mockitousage.verification.VerificationStartedListenerTest org.mockitousage.verification.VerificationOnMultipleMocksUsingMatchersTest org.mockitousage.verification.VerificationInOrderWithTimeoutTest org.mockitousage.verification.VerificationInOrderWithCallsTest org.mockitousage.verification.VerificationInOrderTest org.mockitousage.verification.VerificationInOrderMixedWithOrdiraryVerificationTest org.mockitousage.verification.VerificationExcludingStubsTest org.mockitousage.verification.SelectedMocksInOrderVerificationTest org.mockitousage.verification.RelaxedVerificationInOrderTest org.mockitousage.verification.PrintingVerboseTypesWithArgumentsTest org.mockitousage.verification.OrdinaryVerificationPrintsAllInteractionsTest org.mockitousage.verification.OnlyVerificationTest org.mockitousage.verification.NoMoreInteractionsVerificationTest org.mockitousage.verification.FindingRedundantInvocationsInOrderTest org.mockitousage.verification.ExactNumberOfTimesVerificationTest org.mockitousage.verification.DescriptiveMessagesWhenVerificationFailsTest org.mockitousage.verification.DescriptiveMessagesWhenTimesXVerificationFailsTest org.mockitousage.verification.DescriptiveMessagesOnVerificationInOrderErrorsTest org.mockitousage.verification.CustomVerificationTest org.mockitousage.verification.BasicVerificationTest org.mockitousage.verification.BasicVerificationInOrderTest org.mockitousage.verification.AtMostXVerificationTest org.mockitousage.verification.AtLeastXVerificationTest org.mockitousage.stubbing.StubbingWithThrowablesTest org.mockitousage.stubbing.StubbingWithExtraAnswersTest org.mockitousage.stubbing.StubbingWithDelegateVarArgsTest org.mockitousage.stubbing.StubbingWithDelegateTest org.mockitousage.stubbing.StubbingWithCustomAnswerTest org.mockitousage.stubbing.StubbingWithBadThrowablesTest org.mockitousage.stubbing.StubbingWithAdditionalAnswersTest org.mockitousage.stubbing.StubbingWarningsTest org.mockitousage.stubbing.StubbingUsingDoReturnTest org.mockitousage.stubbing.StubbingReturnsSelfTest org.mockitousage.stubbing.StubbingConsecutiveAnswersTest org.mockitousage.stubbing.StrictStubbingTest org.mockitousage.stubbing.StrictStubbingEndToEndTest org.mockitousage.stubbing.SmartNullsStubbingTest org.mockitousage.stubbing.SmartNullsGenericBugTest org.mockitousage.stubbing.ReturningDefaultValuesTest org.mockitousage.stubbing.DeepStubbingTest org.mockitousage.stubbing.CloningParameterTest org.mockitousage.stubbing.CallingRealMethodTest org.mockitousage.stubbing.BasicStubbingTest org.mockitousage.strictness.StrictnessWithRulesTest org.mockitousage.strictness.StrictnessWhenRuleStrictnessIsUpdatedTest org.mockitousage.strictness.StrictnessPerStubbingWithRunnerTest org.mockitousage.strictness.StrictnessPerStubbingTest org.mockitousage.strictness.StrictnessPerMockTest org.mockitousage.strictness.PotentialStubbingSensitivityTest org.mockitousage.strictness.LenientMockAnnotationTest org.mockitousage.stacktrace.StackTraceFilteringTest org.mockitousage.stacktrace.PointingStackTraceToActualInvocationTest org.mockitousage.stacktrace.PointingStackTraceToActualInvocationInOrderTest org.mockitousage.stacktrace.PointingStackTraceToActualInvocationChunkInOrderTest org.mockitousage.stacktrace.ModellingDescriptiveMessagesTest org.mockitousage.stacktrace.ClickableStackTracesWhenFrameworkMisusedTest org.mockitousage.stacktrace.ClickableStackTracesTest org.mockitousage.spies.StubbingSpiesDoesNotYieldNPETest org.mockitousage.spies.SpyingOnRealObjectsTest org.mockitousage.spies.SpyingOnInterfacesTest org.mockitousage.spies.PartialMockingWithSpiesTest org.mockitousage.session.MockitoSessionTest org.mockitousage.serialization.StrictStubsSerializableTest org.mockitousage.serialization.ParallelSerializationTest org.mockitousage.serialization.DeepStubsSerializableTest org.mockitousage.serialization.AcrossClassLoaderSerializationTest org.mockitousage.puzzlers.OverloadingPuzzleTest org.mockitousage.puzzlers.BridgeMethodPuzzleTest org.mockitousage.plugins.MockitoPluginsTest org.mockitousage.performance.StubOnlyAvoidMemoryConsumptionTest org.mockitousage.performance.LoadsOfMocksTest org.mockitousage.packageprotected.MockingPackageProtectedTest org.mockitousage.misuse.SpyStubbingMisuseTest org.mockitousage.misuse.RestrictedObjectMethodsTest org.mockitousage.misuse.InvalidUsageTest org.mockitousage.misuse.ExplicitFrameworkValidationTest org.mockitousage.misuse.DetectingMisusedMatchersTest org.mockitousage.misuse.DetectingFinalMethodsTest org.mockitousage.misuse.DescriptiveMessagesOnMisuseTest org.mockitousage.misuse.CleaningUpPotentialStubbingTest org.mockitousage.matchers.VerificationAndStubbingUsingMatchersTest org.mockitousage.matchers.VarargsTest org.mockitousage.matchers.ReflectionMatchersTest org.mockitousage.matchers.NewMatchersTest org.mockitousage.matchers.MoreMatchersTest org.mockitousage.matchers.MatchersTest org.mockitousage.matchers.MatchersMixedWithRawArgumentsTest org.mockitousage.matchers.InvalidUseOfMatchersTest org.mockitousage.matchers.HamcrestMatchersTest org.mockitousage.matchers.GenericMatchersTest org.mockitousage.matchers.CustomMatchersTest org.mockitousage.matchers.CustomMatcherDoesYieldCCETest org.mockitousage.matchers.CapturingArgumentsTest org.mockitousage.matchers.AnyXMatchersAcceptNullsTest org.mockitousage.junitrunner.VerboseMockitoRunnerTest org.mockitousage.junitrunner.UnusedStubsExceptionMessageTest org.mockitousage.junitrunner.StubbingWarningsJUnitRunnerTest org.mockitousage.junitrunner.StrictStubsRunnerTest org.mockitousage.junitrunner.StrictRunnerTest org.mockitousage.junitrunner.SilentRunnerTest org.mockitousage.junitrunner.ModellingVerboseMockitoTest org.mockitousage.junitrunner.JUnit45RunnerTest org.mockitousage.junitrunner.DeepStubbingWithJUnitRunnerTest org.mockitousage.junitrule.VerificationCollectorImplTest org.mockitousage.junitrule.StubbingWarningsMultiThreadingTest org.mockitousage.junitrule.StubbingWarningsJUnitRuleTest org.mockitousage.junitrule.StrictJUnitRuleTest org.mockitousage.junitrule.RuleTestWithParameterConstructorTest org.mockitousage.junitrule.RuleTestWithFactoryMethodTest org.mockitousage.junitrule.MutableStrictJUnitRuleTest org.mockitousage.junitrule.MockitoJUnitRuleTest org.mockitousage.junitrule.LenientJUnitRuleTest org.mockitousage.junitrule.InvalidTargetMockitoJUnitRuleTest org.mockitousage.jls.JLS_15_12_2_5Test org.mockitousage.internal.junit.UnusedStubbingsFinderTest org.mockitousage.internal.debugging.LocationImplTest org.mockitousage.examples.use.ExampleTest org.mockitousage.debugging.VerificationListenerCallBackTest org.mockitousage.debugging.VerboseLoggingOfInvocationsOnMockTest org.mockitousage.debugging.StubbingLookupListenerCallbackTest org.mockitousage.debugging.InvocationsPrinterTest org.mockitousage.debugging.InvocationListenerCallbackTest org.mockitousage.customization.BDDMockitoTest org.mockitousage.constructor.CreatingMocksWithConstructorTest org.mockitousage.configuration.CustomizedAnnotationForSmartMockTest org.mockitousage.configuration.ClassCacheVersusClassReloadingTest org.mockitousage.bugs.varargs.VarargsNotPlayingWithAnyObjectTest org.mockitousage.bugs.varargs.VarargsErrorWhenCallingRealMethodTest org.mockitousage.bugs.varargs.VarargsAndAnyObjectPicksUpExtraInvocationsTest org.mockitousage.bugs.injection.ShouldNotTryToInjectInFinalOrStaticFieldsTest org.mockitousage.bugs.injection.ParentTestMockInjectionTest org.mockitousage.bugs.injection.Issue353InjectionMightNotHappenInCertainConfigurationTest org.mockitousage.bugs.injection.InjectionByTypeShouldFirstLookForExactTypeThenAncestorTest org.mockitousage.bugs.injection.InjectMocksShouldTryPropertySettersFirstBeforeFieldAccessTest org.mockitousage.bugs.injection.ChildWithSameParentFieldInjectionTest org.mockitousage.bugs.deepstubs.DeepStubsWronglyReportsSerializationProblemsTest org.mockitousage.bugs.deepstubs.DeepStubFailingWhenGenericNestedAsRawTypeTest org.mockitousage.bugs.creation.ShouldAllowInlineMockCreationTest org.mockitousage.bugs.creation.PublicMethodInParentWithNonPublicTypeInSignatureTest org.mockitousage.bugs.creation.ConstructorInvokingMethodShouldNotRaiseExceptionTest org.mockitousage.bugs.VerifyingWithAnExtraCallToADifferentMockTest org.mockitousage.bugs.StubbingMocksThatAreConfiguredToReturnMocksTest org.mockitousage.bugs.SpyShouldHaveNiceNameTest org.mockitousage.bugs.ShouldOnlyModeAllowCapturingArgumentsTest org.mockitousage.bugs.ShouldNotDeadlockAnswerExecutionTest org.mockitousage.bugs.ShouldMocksCompareToBeConsistentWithEqualsTest org.mockitousage.bugs.NPEWithCertainMatchersTest org.mockitousage.bugs.NPEWhenMockingThrowablesTest org.mockitousage.bugs.NPEOnAnyClassMatcherAutounboxTest org.mockitousage.bugs.MultithreadedStubbingHalfManualTest org.mockitousage.bugs.MultipleInOrdersTest org.mockitousage.bugs.MockitoStubbedCallInAnswerTest org.mockitousage.bugs.MockitoRunnerBreaksWhenNoTestMethodsTest org.mockitousage.bugs.ListenersLostOnResetMockTest org.mockitousage.bugs.InheritedGenericsPolimorphicCallTest org.mockitousage.bugs.IOOBExceptionShouldNotBeThrownWhenNotCodingFluentlyTest org.mockitousage.bugs.GenericsMockitoAnnotationsTest org.mockitousage.bugs.FinalHashCodeAndEqualsRaiseNPEInInitMocksTest org.mockitousage.bugs.FillInStackTraceScenariosTest org.mockitousage.bugs.EqualsWithDeltaTest org.mockitousage.bugs.EnabledMockingInterfaceCloneMethodTest org.mockitousage.bugs.DiamondInheritanceIsConfusingMockitoTest org.mockitousage.bugs.CovariantOverrideTest org.mockitousage.bugs.ConfusedSignatureTest org.mockitousage.bugs.ConcurrentModificationExceptionOnMultiThreadedVerificationTest org.mockitousage.bugs.CompareMatcherTest org.mockitousage.bugs.ClassCastExOnVerifyZeroInteractionsTest org.mockitousage.bugs.CaptorAnnotationAutoboxingTest org.mockitousage.bugs.BridgeMethodsHitAgainTest org.mockitousage.bugs.ArgumentCaptorDontCapturePreviouslyVerifiedTest org.mockitousage.bugs.ActualInvocationHasNullArgumentNPEBugTest org.mockitousage.bugs.AIOOBExceptionWithAtLeastTest org.mockitousage.basicapi.UsingVarargsTest org.mockitousage.basicapi.ResetTest org.mockitousage.basicapi.ResetInvocationsTest org.mockitousage.basicapi.ReplacingObjectMethodsTest org.mockitousage.basicapi.ObjectsSerializationTest org.mockitousage.basicapi.MocksSerializationTest org.mockitousage.basicapi.MocksSerializationForAnnotationTest org.mockitousage.basicapi.MocksCreationTest org.mockitousage.basicapi.MockingMultipleInterfacesTest org.mockitousage.basicapi.MockAccessTest org.mockitousage.annotation.WrongSetOfAnnotationsTest org.mockitousage.annotation.SpyInjectionTest org.mockitousage.annotation.SpyAnnotationTest org.mockitousage.annotation.SpyAnnotationInitializedInBaseClassTest org.mockitousage.annotation.MockInjectionUsingSetterOrPropertyTest org.mockitousage.annotation.MockInjectionUsingConstructorTest org.mockitousage.annotation.MockInjectionUsingConstructorIssue421Test org.mockitousage.annotation.InjectionOfInlinedMockDeclarationTest org.mockitousage.annotation.DeprecatedAnnotationEngineApiTest org.mockitousage.annotation.CaptorAnnotationUnhappyPathTest org.mockitousage.annotation.CaptorAnnotationTest org.mockitousage.annotation.CaptorAnnotationBasicTest org.mockitousage.annotation.AnnotationsTest org.mockitousage.PlaygroundWithDemoOfUnclonedParametersProblemTest org.mockitousage.PlaygroundTest org.mockitousage.CompilationWarningsTest org.mockitointegration.NoJUnitDependenciesTest org.mockitointegration.NoByteCodeDependenciesTest org.mockito.verification.TimeoutTest org.mockito.verification.NegativeDurationTest org.mockito.runners.ConsoleSpammingMockitoJUnitRunnerTest org.mockito.internal.verification.checkers.NumberOfInvocationsInOrderCheckerTest org.mockito.internal.verification.checkers.NumberOfInvocationsCheckerTest org.mockito.internal.verification.checkers.MissingInvocationInOrderCheckerTest org.mockito.internal.verification.checkers.MissingInvocationCheckerTest org.mockito.internal.verification.checkers.AtLeastXNumberOfInvocationsCheckerTest org.mockito.internal.verification.argumentmatching.ArgumentMatchingToolTest org.mockito.internal.verification.VerificationWithDescriptionTest org.mockito.internal.verification.VerificationOverTimeImplTest org.mockito.internal.verification.VerificationDataImplTest org.mockito.internal.verification.SmartPrinterTest org.mockito.internal.verification.OnlyTest org.mockito.internal.verification.NoMoreInteractionsTest org.mockito.internal.verification.DescriptionTest org.mockito.internal.verification.DefaultRegisteredInvocationsTest org.mockito.internal.util.reflection.SuperTypesLastSorterTest org.mockito.internal.util.reflection.ParameterizedConstructorInstantiatorTest org.mockito.internal.util.reflection.LenientCopyToolTest org.mockito.internal.util.reflection.GenericTypeExtractorTest org.mockito.internal.util.reflection.GenericMetadataSupportTest org.mockito.internal.util.reflection.GenericMasterTest org.mockito.internal.util.reflection.GenericArrayReturnTypeTest org.mockito.internal.util.reflection.FieldsTest org.mockito.internal.util.reflection.FieldReaderTest org.mockito.internal.util.reflection.FieldInitializerTest org.mockito.internal.util.reflection.BeanPropertySetterTest org.mockito.internal.util.reflection.AccessibilityChangerTest org.mockito.internal.util.io.IOUtilTest org.mockito.internal.util.collections.ListUtilTest org.mockito.internal.util.collections.IdentitySetTest org.mockito.internal.util.collections.HashCodeAndEqualsSafeSetTest org.mockito.internal.util.TimerTest org.mockito.internal.util.StringUtilTest org.mockito.internal.util.SimpleMockitoLoggerTest org.mockito.internal.util.PrimitivesTest org.mockito.internal.util.PlatformTest org.mockito.internal.util.ObjectMethodsGuruTest org.mockito.internal.util.MockUtilTest org.mockito.internal.util.MockSettingsTest org.mockito.internal.util.MockNameImplTest org.mockito.internal.util.MockCreationValidatorTest org.mockito.internal.util.DefaultMockingDetailsTest org.mockito.internal.util.ChecksTest org.mockito.internal.stubbing.defaultanswers.ReturnsSmartNullsTest org.mockito.internal.stubbing.defaultanswers.ReturnsMoreEmptyValuesTest org.mockito.internal.stubbing.defaultanswers.ReturnsMocksTest org.mockito.internal.stubbing.defaultanswers.ReturnsGenericDeepStubsTest org.mockito.internal.stubbing.defaultanswers.ReturnsEmptyValuesTest org.mockito.internal.stubbing.defaultanswers.ForwardsInvocationsTest org.mockito.internal.stubbing.answers.ThrowsExceptionTest org.mockito.internal.stubbing.answers.ReturnsTest org.mockito.internal.stubbing.answers.ReturnsArgumentAtTest org.mockito.internal.stubbing.answers.InvocationInfoTest org.mockito.internal.stubbing.answers.DoesNothingTest org.mockito.internal.stubbing.answers.DefaultAnswerValidatorTest org.mockito.internal.stubbing.answers.CallsRealMethodsTest org.mockito.internal.stubbing.answers.AnswersWithDelayTest org.mockito.internal.stubbing.InvocationContainerImplTest org.mockito.internal.stubbing.InvocationContainerImplStubbingTest org.mockito.internal.session.DefaultMockitoSessionBuilderTest org.mockito.internal.runners.util.TestMethodsFinderTest org.mockito.internal.runners.util.RunnerProviderTest org.mockito.internal.runners.DefaultInternalRunnerTest org.mockito.internal.reporting.PluralizerTest org.mockito.internal.progress.TimesTest org.mockito.internal.progress.ThreadSafeMockingProgressTest org.mockito.internal.progress.MockingProgressImplTest org.mockito.internal.progress.AtLeastTest org.mockito.internal.matchers.text.ValuePrinterTest org.mockito.internal.matchers.text.MatcherToStringTest org.mockito.internal.matchers.apachecommons.EqualsBuilderTest org.mockito.internal.matchers.StringMatchersTest org.mockito.internal.matchers.MatchersToStringTest org.mockito.internal.matchers.MatchersPrinterTest org.mockito.internal.matchers.InstanceOfTest org.mockito.internal.matchers.EqualsTest org.mockito.internal.matchers.EqualityTest org.mockito.internal.matchers.ComparableMatchersTest org.mockito.internal.matchers.CapturingMatcherTest org.mockito.internal.listeners.VerificationStartedNotifierTest org.mockito.internal.listeners.StubbingLookupNotifierTest org.mockito.internal.junit.util.JUnitFailureHackerTest org.mockito.internal.junit.UnusedStubbingsTest org.mockito.internal.junit.StubbingArgMismatchesTest org.mockito.internal.junit.ExceptionFactoryTest org.mockito.internal.junit.ArgMismatchFinderTest org.mockito.internal.invocation.mockref.MockWeakReferenceTest org.mockito.internal.invocation.TypeSafeMatchingTest org.mockito.internal.invocation.SerializableMethodTest org.mockito.internal.invocation.MatcherApplicationStrategyTest org.mockito.internal.invocation.InvocationsFinderTest org.mockito.internal.invocation.InvocationMatcherTest org.mockito.internal.invocation.InvocationMarkerTest org.mockito.internal.handler.MockHandlerImplTest org.mockito.internal.handler.MockHandlerFactoryTest org.mockito.internal.handler.InvocationNotifierHandlerTest org.mockito.internal.hamcrest.MatcherGenericTypeExtractorTest org.mockito.internal.framework.DefaultMockitoFrameworkTest org.mockito.internal.exceptions.util.ScenarioPrinterTest org.mockito.internal.exceptions.stacktrace.StackTraceFilterTest org.mockito.internal.exceptions.stacktrace.ConditionalStackTraceFilterTest org.mockito.internal.exceptions.ReporterTest org.mockito.internal.debugging.WarningsFinderTest org.mockito.internal.debugging.VerboseMockInvocationLoggerTest org.mockito.internal.debugging.LoggingListenerTest org.mockito.internal.creation.instance.ConstructorInstantiatorTest org.mockito.internal.creation.bytebuddy.TypeCachingMockBytecodeGeneratorTest org.mockito.internal.creation.bytebuddy.SubclassByteBuddyMockMakerTest org.mockito.internal.creation.bytebuddy.InlineByteBuddyMockMakerTest org.mockito.internal.creation.bytebuddy.ByteBuddyMockMakerTest org.mockito.internal.creation.MockSettingsImplTest org.mockito.internal.creation.InterfaceOverrideTest org.mockito.internal.creation.DelegatingMethodTest org.mockito.internal.configuration.plugins.PluginLoaderTest org.mockito.internal.configuration.plugins.PluginFinderTest org.mockito.internal.configuration.plugins.PluginFileReaderTest org.mockito.internal.configuration.plugins.DefaultMockitoPluginsTest org.mockito.internal.configuration.injection.SimpleArgumentResolverTest org.mockito.internal.configuration.injection.ConstructorInjectionTest org.mockito.internal.configuration.MockInjectionTest org.mockito.internal.configuration.GlobalConfigurationTest org.mockito.internal.configuration.ClassPathLoaderTest org.mockito.internal.InvalidStateDetectionTest org.mockito.internal.InOrderImplTest org.mockito.internal.AllInvocationsFinderTest org.mockito.exceptions.stacktrace.StackTraceCleanerTest org.mockito.exceptions.base.MockitoSerializationIssueTest org.mockito.exceptions.base.MockitoExceptionTest org.mockito.exceptions.base.MockitoAssertionErrorTest org.mockito.StaticMockingExperimentTest org.mockito.MockitoTest org.mockito.InvocationFactoryTest org.mockito.ArgumentCaptorTest org.mockito.AnnotationsAreCopiedFromMockedTypeTest org.concurrentmockito.VerificationInOrderFromMultipleThreadsTest org.concurrentmockito.ThreadsShareGenerouslyStubbedMockTest org.concurrentmockito.ThreadsShareAMockTest org.concurrentmockito.ThreadsRunAllTestsHalfManualTest org.concurrentmockito.ThreadVerifiesContinuouslyInteractingMockTest >debug: ejunit_: entering function, parameters: junit-4 -classpath target/test-classes:mockito.jar:/usr/share/junit-4/lib/junit.jar:/usr/share/hamcrest-core-1.3/lib/hamcrest-core.jar:/usr/share/opentest4j/lib/opentest4j.jar:/usr/share/assertj-core-3/lib/assertj-core.jar:/usr/share/junit-4/lib/junit.jar:/usr/share/hamcrest-core-1.3/lib/hamcrest-core.jar:/usr/share/byte-buddy/lib/byte-buddy-agent.jar:/usr/share/byte-buddy/lib/byte-buddy.jar:/usr/share/asm-9/lib/asm.jar:/usr/share/asm-9/lib/asm-tree.jar:/usr/share/asm-9/lib/asm-analysis.jar:/usr/share/asm-9/lib/asm-commons.jar:/usr/share/asm-9/lib/asm-util.jar:/usr/share/byte-buddy/lib/byte-buddy-agent.jar:/usr/share/byte-buddy/lib/byte-buddy.jar:/usr/share/objenesis/lib/objenesis.jar org.mockitoutil.async.AsyncTestingTest org.mockitoutil.SafeJUnitRuleTest org.mockitoutil.ClassLoadersTest org.mockitousage.verification.VerifyPrintsAllInvocationsOnErrorTest org.mockitousage.verification.VerificationWithTimeoutTest org.mockitousage.verification.VerificationWithAfterTest org.mockitousage.verification.VerificationWithAfterAndCaptorTest org.mockitousage.verification.VerificationUsingMatchersTest org.mockitousage.verification.VerificationStartedListenerTest org.mockitousage.verification.VerificationOnMultipleMocksUsingMatchersTest org.mockitousage.verification.VerificationInOrderWithTimeoutTest org.mockitousage.verification.VerificationInOrderWithCallsTest org.mockitousage.verification.VerificationInOrderTest org.mockitousage.verification.VerificationInOrderMixedWithOrdiraryVerificationTest org.mockitousage.verification.VerificationExcludingStubsTest org.mockitousage.verification.SelectedMocksInOrderVerificationTest org.mockitousage.verification.RelaxedVerificationInOrderTest org.mockitousage.verification.PrintingVerboseTypesWithArgumentsTest org.mockitousage.verification.OrdinaryVerificationPrintsAllInteractionsTest org.mockitousage.verification.OnlyVerificationTest org.mockitousage.verification.NoMoreInteractionsVerificationTest org.mockitousage.verification.FindingRedundantInvocationsInOrderTest org.mockitousage.verification.ExactNumberOfTimesVerificationTest org.mockitousage.verification.DescriptiveMessagesWhenVerificationFailsTest org.mockitousage.verification.DescriptiveMessagesWhenTimesXVerificationFailsTest org.mockitousage.verification.DescriptiveMessagesOnVerificationInOrderErrorsTest org.mockitousage.verification.CustomVerificationTest org.mockitousage.verification.BasicVerificationTest org.mockitousage.verification.BasicVerificationInOrderTest org.mockitousage.verification.AtMostXVerificationTest org.mockitousage.verification.AtLeastXVerificationTest org.mockitousage.stubbing.StubbingWithThrowablesTest org.mockitousage.stubbing.StubbingWithExtraAnswersTest org.mockitousage.stubbing.StubbingWithDelegateVarArgsTest org.mockitousage.stubbing.StubbingWithDelegateTest org.mockitousage.stubbing.StubbingWithCustomAnswerTest org.mockitousage.stubbing.StubbingWithBadThrowablesTest org.mockitousage.stubbing.StubbingWithAdditionalAnswersTest org.mockitousage.stubbing.StubbingWarningsTest org.mockitousage.stubbing.StubbingUsingDoReturnTest org.mockitousage.stubbing.StubbingReturnsSelfTest org.mockitousage.stubbing.StubbingConsecutiveAnswersTest org.mockitousage.stubbing.StrictStubbingTest org.mockitousage.stubbing.StrictStubbingEndToEndTest org.mockitousage.stubbing.SmartNullsStubbingTest org.mockitousage.stubbing.SmartNullsGenericBugTest org.mockitousage.stubbing.ReturningDefaultValuesTest org.mockitousage.stubbing.DeepStubbingTest org.mockitousage.stubbing.CloningParameterTest org.mockitousage.stubbing.CallingRealMethodTest org.mockitousage.stubbing.BasicStubbingTest org.mockitousage.strictness.StrictnessWithRulesTest org.mockitousage.strictness.StrictnessWhenRuleStrictnessIsUpdatedTest org.mockitousage.strictness.StrictnessPerStubbingWithRunnerTest org.mockitousage.strictness.StrictnessPerStubbingTest org.mockitousage.strictness.StrictnessPerMockTest org.mockitousage.strictness.PotentialStubbingSensitivityTest org.mockitousage.strictness.LenientMockAnnotationTest org.mockitousage.stacktrace.StackTraceFilteringTest org.mockitousage.stacktrace.PointingStackTraceToActualInvocationTest org.mockitousage.stacktrace.PointingStackTraceToActualInvocationInOrderTest org.mockitousage.stacktrace.PointingStackTraceToActualInvocationChunkInOrderTest org.mockitousage.stacktrace.ModellingDescriptiveMessagesTest org.mockitousage.stacktrace.ClickableStackTracesWhenFrameworkMisusedTest org.mockitousage.stacktrace.ClickableStackTracesTest org.mockitousage.spies.StubbingSpiesDoesNotYieldNPETest org.mockitousage.spies.SpyingOnRealObjectsTest org.mockitousage.spies.SpyingOnInterfacesTest org.mockitousage.spies.PartialMockingWithSpiesTest org.mockitousage.session.MockitoSessionTest org.mockitousage.serialization.StrictStubsSerializableTest org.mockitousage.serialization.ParallelSerializationTest org.mockitousage.serialization.DeepStubsSerializableTest org.mockitousage.serialization.AcrossClassLoaderSerializationTest org.mockitousage.puzzlers.OverloadingPuzzleTest org.mockitousage.puzzlers.BridgeMethodPuzzleTest org.mockitousage.plugins.MockitoPluginsTest org.mockitousage.performance.StubOnlyAvoidMemoryConsumptionTest org.mockitousage.performance.LoadsOfMocksTest org.mockitousage.packageprotected.MockingPackageProtectedTest org.mockitousage.misuse.SpyStubbingMisuseTest org.mockitousage.misuse.RestrictedObjectMethodsTest org.mockitousage.misuse.InvalidUsageTest org.mockitousage.misuse.ExplicitFrameworkValidationTest org.mockitousage.misuse.DetectingMisusedMatchersTest org.mockitousage.misuse.DetectingFinalMethodsTest org.mockitousage.misuse.DescriptiveMessagesOnMisuseTest org.mockitousage.misuse.CleaningUpPotentialStubbingTest org.mockitousage.matchers.VerificationAndStubbingUsingMatchersTest org.mockitousage.matchers.VarargsTest org.mockitousage.matchers.ReflectionMatchersTest org.mockitousage.matchers.NewMatchersTest org.mockitousage.matchers.MoreMatchersTest org.mockitousage.matchers.MatchersTest org.mockitousage.matchers.MatchersMixedWithRawArgumentsTest org.mockitousage.matchers.InvalidUseOfMatchersTest org.mockitousage.matchers.HamcrestMatchersTest org.mockitousage.matchers.GenericMatchersTest org.mockitousage.matchers.CustomMatchersTest org.mockitousage.matchers.CustomMatcherDoesYieldCCETest org.mockitousage.matchers.CapturingArgumentsTest org.mockitousage.matchers.AnyXMatchersAcceptNullsTest org.mockitousage.junitrunner.VerboseMockitoRunnerTest org.mockitousage.junitrunner.UnusedStubsExceptionMessageTest org.mockitousage.junitrunner.StubbingWarningsJUnitRunnerTest org.mockitousage.junitrunner.StrictStubsRunnerTest org.mockitousage.junitrunner.StrictRunnerTest org.mockitousage.junitrunner.SilentRunnerTest org.mockitousage.junitrunner.ModellingVerboseMockitoTest org.mockitousage.junitrunner.JUnit45RunnerTest org.mockitousage.junitrunner.DeepStubbingWithJUnitRunnerTest org.mockitousage.junitrule.VerificationCollectorImplTest org.mockitousage.junitrule.StubbingWarningsMultiThreadingTest org.mockitousage.junitrule.StubbingWarningsJUnitRuleTest org.mockitousage.junitrule.StrictJUnitRuleTest org.mockitousage.junitrule.RuleTestWithParameterConstructorTest org.mockitousage.junitrule.RuleTestWithFactoryMethodTest org.mockitousage.junitrule.MutableStrictJUnitRuleTest org.mockitousage.junitrule.MockitoJUnitRuleTest org.mockitousage.junitrule.LenientJUnitRuleTest org.mockitousage.junitrule.InvalidTargetMockitoJUnitRuleTest org.mockitousage.jls.JLS_15_12_2_5Test org.mockitousage.internal.junit.UnusedStubbingsFinderTest org.mockitousage.internal.debugging.LocationImplTest org.mockitousage.examples.use.ExampleTest org.mockitousage.debugging.VerificationListenerCallBackTest org.mockitousage.debugging.VerboseLoggingOfInvocationsOnMockTest org.mockitousage.debugging.StubbingLookupListenerCallbackTest org.mockitousage.debugging.InvocationsPrinterTest org.mockitousage.debugging.InvocationListenerCallbackTest org.mockitousage.customization.BDDMockitoTest org.mockitousage.constructor.CreatingMocksWithConstructorTest org.mockitousage.configuration.CustomizedAnnotationForSmartMockTest org.mockitousage.configuration.ClassCacheVersusClassReloadingTest org.mockitousage.bugs.varargs.VarargsNotPlayingWithAnyObjectTest org.mockitousage.bugs.varargs.VarargsErrorWhenCallingRealMethodTest org.mockitousage.bugs.varargs.VarargsAndAnyObjectPicksUpExtraInvocationsTest org.mockitousage.bugs.injection.ShouldNotTryToInjectInFinalOrStaticFieldsTest org.mockitousage.bugs.injection.ParentTestMockInjectionTest org.mockitousage.bugs.injection.Issue353InjectionMightNotHappenInCertainConfigurationTest org.mockitousage.bugs.injection.InjectionByTypeShouldFirstLookForExactTypeThenAncestorTest org.mockitousage.bugs.injection.InjectMocksShouldTryPropertySettersFirstBeforeFieldAccessTest org.mockitousage.bugs.injection.ChildWithSameParentFieldInjectionTest org.mockitousage.bugs.deepstubs.DeepStubsWronglyReportsSerializationProblemsTest org.mockitousage.bugs.deepstubs.DeepStubFailingWhenGenericNestedAsRawTypeTest org.mockitousage.bugs.creation.ShouldAllowInlineMockCreationTest org.mockitousage.bugs.creation.PublicMethodInParentWithNonPublicTypeInSignatureTest org.mockitousage.bugs.creation.ConstructorInvokingMethodShouldNotRaiseExceptionTest org.mockitousage.bugs.VerifyingWithAnExtraCallToADifferentMockTest org.mockitousage.bugs.StubbingMocksThatAreConfiguredToReturnMocksTest org.mockitousage.bugs.SpyShouldHaveNiceNameTest org.mockitousage.bugs.ShouldOnlyModeAllowCapturingArgumentsTest org.mockitousage.bugs.ShouldNotDeadlockAnswerExecutionTest org.mockitousage.bugs.ShouldMocksCompareToBeConsistentWithEqualsTest org.mockitousage.bugs.NPEWithCertainMatchersTest org.mockitousage.bugs.NPEWhenMockingThrowablesTest org.mockitousage.bugs.NPEOnAnyClassMatcherAutounboxTest org.mockitousage.bugs.MultithreadedStubbingHalfManualTest org.mockitousage.bugs.MultipleInOrdersTest org.mockitousage.bugs.MockitoStubbedCallInAnswerTest org.mockitousage.bugs.MockitoRunnerBreaksWhenNoTestMethodsTest org.mockitousage.bugs.ListenersLostOnResetMockTest org.mockitousage.bugs.InheritedGenericsPolimorphicCallTest org.mockitousage.bugs.IOOBExceptionShouldNotBeThrownWhenNotCodingFluentlyTest org.mockitousage.bugs.GenericsMockitoAnnotationsTest org.mockitousage.bugs.FinalHashCodeAndEqualsRaiseNPEInInitMocksTest org.mockitousage.bugs.FillInStackTraceScenariosTest org.mockitousage.bugs.EqualsWithDeltaTest org.mockitousage.bugs.EnabledMockingInterfaceCloneMethodTest org.mockitousage.bugs.DiamondInheritanceIsConfusingMockitoTest org.mockitousage.bugs.CovariantOverrideTest org.mockitousage.bugs.ConfusedSignatureTest org.mockitousage.bugs.ConcurrentModificationExceptionOnMultiThreadedVerificationTest org.mockitousage.bugs.CompareMatcherTest org.mockitousage.bugs.ClassCastExOnVerifyZeroInteractionsTest org.mockitousage.bugs.CaptorAnnotationAutoboxingTest org.mockitousage.bugs.BridgeMethodsHitAgainTest org.mockitousage.bugs.ArgumentCaptorDontCapturePreviouslyVerifiedTest org.mockitousage.bugs.ActualInvocationHasNullArgumentNPEBugTest org.mockitousage.bugs.AIOOBExceptionWithAtLeastTest org.mockitousage.basicapi.UsingVarargsTest org.mockitousage.basicapi.ResetTest org.mockitousage.basicapi.ResetInvocationsTest org.mockitousage.basicapi.ReplacingObjectMethodsTest org.mockitousage.basicapi.ObjectsSerializationTest org.mockitousage.basicapi.MocksSerializationTest org.mockitousage.basicapi.MocksSerializationForAnnotationTest org.mockitousage.basicapi.MocksCreationTest org.mockitousage.basicapi.MockingMultipleInterfacesTest org.mockitousage.basicapi.MockAccessTest org.mockitousage.annotation.WrongSetOfAnnotationsTest org.mockitousage.annotation.SpyInjectionTest org.mockitousage.annotation.SpyAnnotationTest org.mockitousage.annotation.SpyAnnotationInitializedInBaseClassTest org.mockitousage.annotation.MockInjectionUsingSetterOrPropertyTest org.mockitousage.annotation.MockInjectionUsingConstructorTest org.mockitousage.annotation.MockInjectionUsingConstructorIssue421Test org.mockitousage.annotation.InjectionOfInlinedMockDeclarationTest org.mockitousage.annotation.DeprecatedAnnotationEngineApiTest org.mockitousage.annotation.CaptorAnnotationUnhappyPathTest org.mockitousage.annotation.CaptorAnnotationTest org.mockitousage.annotation.CaptorAnnotationBasicTest org.mockitousage.annotation.AnnotationsTest org.mockitousage.PlaygroundWithDemoOfUnclonedParametersProblemTest org.mockitousage.PlaygroundTest org.mockitousage.CompilationWarningsTest org.mockitointegration.NoJUnitDependenciesTest org.mockitointegration.NoByteCodeDependenciesTest org.mockito.verification.TimeoutTest org.mockito.verification.NegativeDurationTest org.mockito.runners.ConsoleSpammingMockitoJUnitRunnerTest org.mockito.internal.verification.checkers.NumberOfInvocationsInOrderCheckerTest org.mockito.internal.verification.checkers.NumberOfInvocationsCheckerTest org.mockito.internal.verification.checkers.MissingInvocationInOrderCheckerTest org.mockito.internal.verification.checkers.MissingInvocationCheckerTest org.mockito.internal.verification.checkers.AtLeastXNumberOfInvocationsCheckerTest org.mockito.internal.verification.argumentmatching.ArgumentMatchingToolTest org.mockito.internal.verification.VerificationWithDescriptionTest org.mockito.internal.verification.VerificationOverTimeImplTest org.mockito.internal.verification.VerificationDataImplTest org.mockito.internal.verification.SmartPrinterTest org.mockito.internal.verification.OnlyTest org.mockito.internal.verification.NoMoreInteractionsTest org.mockito.internal.verification.DescriptionTest org.mockito.internal.verification.DefaultRegisteredInvocationsTest org.mockito.internal.util.reflection.SuperTypesLastSorterTest org.mockito.internal.util.reflection.ParameterizedConstructorInstantiatorTest org.mockito.internal.util.reflection.LenientCopyToolTest org.mockito.internal.util.reflection.GenericTypeExtractorTest org.mockito.internal.util.reflection.GenericMetadataSupportTest org.mockito.internal.util.reflection.GenericMasterTest org.mockito.internal.util.reflection.GenericArrayReturnTypeTest org.mockito.internal.util.reflection.FieldsTest org.mockito.internal.util.reflection.FieldReaderTest org.mockito.internal.util.reflection.FieldInitializerTest org.mockito.internal.util.reflection.BeanPropertySetterTest org.mockito.internal.util.reflection.AccessibilityChangerTest org.mockito.internal.util.io.IOUtilTest org.mockito.internal.util.collections.ListUtilTest org.mockito.internal.util.collections.IdentitySetTest org.mockito.internal.util.collections.HashCodeAndEqualsSafeSetTest org.mockito.internal.util.TimerTest org.mockito.internal.util.StringUtilTest org.mockito.internal.util.SimpleMockitoLoggerTest org.mockito.internal.util.PrimitivesTest org.mockito.internal.util.PlatformTest org.mockito.internal.util.ObjectMethodsGuruTest org.mockito.internal.util.MockUtilTest org.mockito.internal.util.MockSettingsTest org.mockito.internal.util.MockNameImplTest org.mockito.internal.util.MockCreationValidatorTest org.mockito.internal.util.DefaultMockingDetailsTest org.mockito.internal.util.ChecksTest org.mockito.internal.stubbing.defaultanswers.ReturnsSmartNullsTest org.mockito.internal.stubbing.defaultanswers.ReturnsMoreEmptyValuesTest org.mockito.internal.stubbing.defaultanswers.ReturnsMocksTest org.mockito.internal.stubbing.defaultanswers.ReturnsGenericDeepStubsTest org.mockito.internal.stubbing.defaultanswers.ReturnsEmptyValuesTest org.mockito.internal.stubbing.defaultanswers.ForwardsInvocationsTest org.mockito.internal.stubbing.answers.ThrowsExceptionTest org.mockito.internal.stubbing.answers.ReturnsTest org.mockito.internal.stubbing.answers.ReturnsArgumentAtTest org.mockito.internal.stubbing.answers.InvocationInfoTest org.mockito.internal.stubbing.answers.DoesNothingTest org.mockito.internal.stubbing.answers.DefaultAnswerValidatorTest org.mockito.internal.stubbing.answers.CallsRealMethodsTest org.mockito.internal.stubbing.answers.AnswersWithDelayTest org.mockito.internal.stubbing.InvocationContainerImplTest org.mockito.internal.stubbing.InvocationContainerImplStubbingTest org.mockito.internal.session.DefaultMockitoSessionBuilderTest org.mockito.internal.runners.util.TestMethodsFinderTest org.mockito.internal.runners.util.RunnerProviderTest org.mockito.internal.runners.DefaultInternalRunnerTest org.mockito.internal.reporting.PluralizerTest org.mockito.internal.progress.TimesTest org.mockito.internal.progress.ThreadSafeMockingProgressTest org.mockito.internal.progress.MockingProgressImplTest org.mockito.internal.progress.AtLeastTest org.mockito.internal.matchers.text.ValuePrinterTest org.mockito.internal.matchers.text.MatcherToStringTest org.mockito.internal.matchers.apachecommons.EqualsBuilderTest org.mockito.internal.matchers.StringMatchersTest org.mockito.internal.matchers.MatchersToStringTest org.mockito.internal.matchers.MatchersPrinterTest org.mockito.internal.matchers.InstanceOfTest org.mockito.internal.matchers.EqualsTest org.mockito.internal.matchers.EqualityTest org.mockito.internal.matchers.ComparableMatchersTest org.mockito.internal.matchers.CapturingMatcherTest org.mockito.internal.listeners.VerificationStartedNotifierTest org.mockito.internal.listeners.StubbingLookupNotifierTest org.mockito.internal.junit.util.JUnitFailureHackerTest org.mockito.internal.junit.UnusedStubbingsTest org.mockito.internal.junit.StubbingArgMismatchesTest org.mockito.internal.junit.ExceptionFactoryTest org.mockito.internal.junit.ArgMismatchFinderTest org.mockito.internal.invocation.mockref.MockWeakReferenceTest org.mockito.internal.invocation.TypeSafeMatchingTest org.mockito.internal.invocation.SerializableMethodTest org.mockito.internal.invocation.MatcherApplicationStrategyTest org.mockito.internal.invocation.InvocationsFinderTest org.mockito.internal.invocation.InvocationMatcherTest org.mockito.internal.invocation.InvocationMarkerTest org.mockito.internal.handler.MockHandlerImplTest org.mockito.internal.handler.MockHandlerFactoryTest org.mockito.internal.handler.InvocationNotifierHandlerTest org.mockito.internal.hamcrest.MatcherGenericTypeExtractorTest org.mockito.internal.framework.DefaultMockitoFrameworkTest org.mockito.internal.exceptions.util.ScenarioPrinterTest org.mockito.internal.exceptions.stacktrace.StackTraceFilterTest org.mockito.internal.exceptions.stacktrace.ConditionalStackTraceFilterTest org.mockito.internal.exceptions.ReporterTest org.mockito.internal.debugging.WarningsFinderTest org.mockito.internal.debugging.VerboseMockInvocationLoggerTest org.mockito.internal.debugging.LoggingListenerTest org.mockito.internal.creation.instance.ConstructorInstantiatorTest org.mockito.internal.creation.bytebuddy.TypeCachingMockBytecodeGeneratorTest org.mockito.internal.creation.bytebuddy.SubclassByteBuddyMockMakerTest org.mockito.internal.creation.bytebuddy.InlineByteBuddyMockMakerTest org.mockito.internal.creation.bytebuddy.ByteBuddyMockMakerTest org.mockito.internal.creation.MockSettingsImplTest org.mockito.internal.creation.InterfaceOverrideTest org.mockito.internal.creation.DelegatingMethodTest org.mockito.internal.configuration.plugins.PluginLoaderTest org.mockito.internal.configuration.plugins.PluginFinderTest org.mockito.internal.configuration.plugins.PluginFileReaderTest org.mockito.internal.configuration.plugins.DefaultMockitoPluginsTest org.mockito.internal.configuration.injection.SimpleArgumentResolverTest org.mockito.internal.configuration.injection.ConstructorInjectionTest org.mockito.internal.configuration.MockInjectionTest org.mockito.internal.configuration.GlobalConfigurationTest org.mockito.internal.configuration.ClassPathLoaderTest org.mockito.internal.InvalidStateDetectionTest org.mockito.internal.InOrderImplTest org.mockito.internal.AllInvocationsFinderTest org.mockito.exceptions.stacktrace.StackTraceCleanerTest org.mockito.exceptions.base.MockitoSerializationIssueTest org.mockito.exceptions.base.MockitoExceptionTest org.mockito.exceptions.base.MockitoAssertionErrorTest org.mockito.StaticMockingExperimentTest org.mockito.MockitoTest org.mockito.InvocationFactoryTest org.mockito.ArgumentCaptorTest org.mockito.AnnotationsAreCopiedFromMockedTypeTest org.concurrentmockito.VerificationInOrderFromMultipleThreadsTest org.concurrentmockito.ThreadsShareGenerouslyStubbedMockTest org.concurrentmockito.ThreadsShareAMockTest org.concurrentmockito.ThreadsRunAllTestsHalfManualTest org.concurrentmockito.ThreadVerifiesContinuouslyInteractingMockTest >debug: java-pkg_getjars: entering function, parameters: --with-dependencies junit-4,asm-9,byte-buddy,objenesis >debug: junit-4,asm-9,byte-buddy,objenesis:/usr/share/junit-4/lib/junit.jar:/usr/share/asm-9/lib/asm.jar:/usr/share/asm-9/lib/asm-tree.jar:/usr/share/asm-9/lib/asm-analysis.jar:/usr/share/asm-9/lib/asm-commons.jar:/usr/share/asm-9/lib/asm-util.jar:/usr/share/byte-buddy/lib/byte-buddy-agent.jar:/usr/share/byte-buddy/lib/byte-buddy.jar:/usr/share/objenesis/lib/objenesis.jar:/usr/share/hamcrest-core-1.3/lib/hamcrest-core.jar >debug: java-pkg_ensure-dep: entering function, parameters: build junit-4 >debug: Matching against: /junit(-4(-[^:]+)?:0|(-[^:]+)?:4)\b >debug: java-pkg_ensure-dep: entering function, parameters: build asm-9 >debug: Matching against: /asm(-9(-[^:]+)?:0|(-[^:]+)?:9)\b >debug: java-pkg_ensure-dep: entering function, parameters: build byte-buddy >debug: Matching against: /byte(-buddy(-[^:]+)?:0|(-[^:]+)?:buddy)\b >debug: java-pkg_ensure-dep: entering function, parameters: build objenesis >debug: Matching against: /(objenesis(-[^:]+)?:0|(-[^:]+)?:objenesis)\b >debug: java-pkg_record-jar_: entering function, parameters: --build-only junit-4 >debug: java-pkg_record-jar_: entering function, parameters: --build-only asm-9 >debug: java-pkg_record-jar_: entering function, parameters: --build-only byte-buddy >debug: java-pkg_record-jar_: entering function, parameters: --build-only objenesis >debug: Calling: java -cp >debug: target/test-classes:mockito.jar:/usr/share/junit-4/lib/junit.jar:/usr/share/hamcrest-core-1.3/lib/hamcrest-core.jar:/usr/share/opentest4j/lib/opentest4j.jar:/usr/share/assertj-core-3/lib/assertj-core.jar:/usr/share/junit-4/lib/junit.jar:/usr/share/hamcrest-core-1.3/lib/hamcrest-core.jar:/usr/share/byte-buddy/lib/byte-buddy-agent.jar:/usr/share/byte-buddy/lib/byte-buddy.jar:/usr/share/asm-9/lib/asm.jar:/usr/share/asm-9/lib/asm-tree.jar:/usr/share/asm-9/lib/asm-analysis.jar:/usr/share/asm-9/lib/asm-commons.jar:/usr/share/asm-9/lib/asm-util.jar:/usr/share/byte-buddy/lib/byte-buddy-agent.jar:/usr/share/byte-buddy/lib/byte-buddy.jar:/usr/share/objenesis/lib/objenesis.jar:/usr/share/junit-4/lib/junit.jar:/usr/share/asm-9/lib/asm.jar:/usr/share/asm-9/lib/asm-tree.jar:/usr/share/asm-9/lib/asm-analysis.jar:/usr/share/asm-9/lib/asm-commons.jar:/usr/share/asm-9/lib/asm-util.jar:/usr/share/byte-buddy/lib/byte-buddy-agent.jar:/usr/share/byte-buddy/lib/byte-buddy.jar:/usr/share/objenesis/lib/objenesis.jar:/usr/share/hamcrest-core-1.3/lib/hamcrest-core.jar >debug: -Djava.io.tmpdir=/var/tmp/portage/dev-java/mockito-2.28.2/temp >debug: -Djava.awt.headless=true >debug: --add-opens=java.base/java.io=ALL-UNNAMED >debug: --add-opens=java.base/java.lang=ALL-UNNAMED >debug: --add-opens=java.base/sun.reflect.generics.reflectiveObjects=ALL-UNNAMED >debug: org.junit.runner.JUnitCore >debug: org.mockitoutil.async.AsyncTestingTest >debug: org.mockitoutil.SafeJUnitRuleTest >debug: org.mockitoutil.ClassLoadersTest >debug: org.mockitousage.verification.VerifyPrintsAllInvocationsOnErrorTest >debug: org.mockitousage.verification.VerificationWithTimeoutTest >debug: org.mockitousage.verification.VerificationWithAfterTest >debug: org.mockitousage.verification.VerificationWithAfterAndCaptorTest >debug: org.mockitousage.verification.VerificationUsingMatchersTest >debug: org.mockitousage.verification.VerificationStartedListenerTest >debug: org.mockitousage.verification.VerificationOnMultipleMocksUsingMatchersTest >debug: org.mockitousage.verification.VerificationInOrderWithTimeoutTest >debug: org.mockitousage.verification.VerificationInOrderWithCallsTest >debug: org.mockitousage.verification.VerificationInOrderTest >debug: org.mockitousage.verification.VerificationInOrderMixedWithOrdiraryVerificationTest >debug: org.mockitousage.verification.VerificationExcludingStubsTest >debug: org.mockitousage.verification.SelectedMocksInOrderVerificationTest >debug: org.mockitousage.verification.RelaxedVerificationInOrderTest >debug: org.mockitousage.verification.PrintingVerboseTypesWithArgumentsTest >debug: org.mockitousage.verification.OrdinaryVerificationPrintsAllInteractionsTest >debug: org.mockitousage.verification.OnlyVerificationTest >debug: org.mockitousage.verification.NoMoreInteractionsVerificationTest >debug: org.mockitousage.verification.FindingRedundantInvocationsInOrderTest >debug: org.mockitousage.verification.ExactNumberOfTimesVerificationTest >debug: org.mockitousage.verification.DescriptiveMessagesWhenVerificationFailsTest >debug: org.mockitousage.verification.DescriptiveMessagesWhenTimesXVerificationFailsTest >debug: org.mockitousage.verification.DescriptiveMessagesOnVerificationInOrderErrorsTest >debug: org.mockitousage.verification.CustomVerificationTest >debug: org.mockitousage.verification.BasicVerificationTest >debug: org.mockitousage.verification.BasicVerificationInOrderTest >debug: org.mockitousage.verification.AtMostXVerificationTest >debug: org.mockitousage.verification.AtLeastXVerificationTest >debug: org.mockitousage.stubbing.StubbingWithThrowablesTest >debug: org.mockitousage.stubbing.StubbingWithExtraAnswersTest >debug: org.mockitousage.stubbing.StubbingWithDelegateVarArgsTest >debug: org.mockitousage.stubbing.StubbingWithDelegateTest >debug: org.mockitousage.stubbing.StubbingWithCustomAnswerTest >debug: org.mockitousage.stubbing.StubbingWithBadThrowablesTest >debug: org.mockitousage.stubbing.StubbingWithAdditionalAnswersTest >debug: org.mockitousage.stubbing.StubbingWarningsTest >debug: org.mockitousage.stubbing.StubbingUsingDoReturnTest >debug: org.mockitousage.stubbing.StubbingReturnsSelfTest >debug: org.mockitousage.stubbing.StubbingConsecutiveAnswersTest >debug: org.mockitousage.stubbing.StrictStubbingTest >debug: org.mockitousage.stubbing.StrictStubbingEndToEndTest >debug: org.mockitousage.stubbing.SmartNullsStubbingTest >debug: org.mockitousage.stubbing.SmartNullsGenericBugTest >debug: org.mockitousage.stubbing.ReturningDefaultValuesTest >debug: org.mockitousage.stubbing.DeepStubbingTest >debug: org.mockitousage.stubbing.CloningParameterTest >debug: org.mockitousage.stubbing.CallingRealMethodTest >debug: org.mockitousage.stubbing.BasicStubbingTest >debug: org.mockitousage.strictness.StrictnessWithRulesTest >debug: org.mockitousage.strictness.StrictnessWhenRuleStrictnessIsUpdatedTest >debug: org.mockitousage.strictness.StrictnessPerStubbingWithRunnerTest >debug: org.mockitousage.strictness.StrictnessPerStubbingTest >debug: org.mockitousage.strictness.StrictnessPerMockTest >debug: org.mockitousage.strictness.PotentialStubbingSensitivityTest >debug: org.mockitousage.strictness.LenientMockAnnotationTest >debug: org.mockitousage.stacktrace.StackTraceFilteringTest >debug: org.mockitousage.stacktrace.PointingStackTraceToActualInvocationTest >debug: org.mockitousage.stacktrace.PointingStackTraceToActualInvocationInOrderTest >debug: org.mockitousage.stacktrace.PointingStackTraceToActualInvocationChunkInOrderTest >debug: org.mockitousage.stacktrace.ModellingDescriptiveMessagesTest >debug: org.mockitousage.stacktrace.ClickableStackTracesWhenFrameworkMisusedTest >debug: org.mockitousage.stacktrace.ClickableStackTracesTest >debug: org.mockitousage.spies.StubbingSpiesDoesNotYieldNPETest >debug: org.mockitousage.spies.SpyingOnRealObjectsTest >debug: org.mockitousage.spies.SpyingOnInterfacesTest >debug: org.mockitousage.spies.PartialMockingWithSpiesTest >debug: org.mockitousage.session.MockitoSessionTest >debug: org.mockitousage.serialization.StrictStubsSerializableTest >debug: org.mockitousage.serialization.ParallelSerializationTest >debug: org.mockitousage.serialization.DeepStubsSerializableTest >debug: org.mockitousage.serialization.AcrossClassLoaderSerializationTest >debug: org.mockitousage.puzzlers.OverloadingPuzzleTest >debug: org.mockitousage.puzzlers.BridgeMethodPuzzleTest >debug: org.mockitousage.plugins.MockitoPluginsTest >debug: org.mockitousage.performance.StubOnlyAvoidMemoryConsumptionTest >debug: org.mockitousage.performance.LoadsOfMocksTest >debug: org.mockitousage.packageprotected.MockingPackageProtectedTest >debug: org.mockitousage.misuse.SpyStubbingMisuseTest >debug: org.mockitousage.misuse.RestrictedObjectMethodsTest >debug: org.mockitousage.misuse.InvalidUsageTest >debug: org.mockitousage.misuse.ExplicitFrameworkValidationTest >debug: org.mockitousage.misuse.DetectingMisusedMatchersTest >debug: org.mockitousage.misuse.DetectingFinalMethodsTest >debug: org.mockitousage.misuse.DescriptiveMessagesOnMisuseTest >debug: org.mockitousage.misuse.CleaningUpPotentialStubbingTest >debug: org.mockitousage.matchers.VerificationAndStubbingUsingMatchersTest >debug: org.mockitousage.matchers.VarargsTest >debug: org.mockitousage.matchers.ReflectionMatchersTest >debug: org.mockitousage.matchers.NewMatchersTest >debug: org.mockitousage.matchers.MoreMatchersTest >debug: org.mockitousage.matchers.MatchersTest >debug: org.mockitousage.matchers.MatchersMixedWithRawArgumentsTest >debug: org.mockitousage.matchers.InvalidUseOfMatchersTest >debug: org.mockitousage.matchers.HamcrestMatchersTest >debug: org.mockitousage.matchers.GenericMatchersTest >debug: org.mockitousage.matchers.CustomMatchersTest >debug: org.mockitousage.matchers.CustomMatcherDoesYieldCCETest >debug: org.mockitousage.matchers.CapturingArgumentsTest >debug: org.mockitousage.matchers.AnyXMatchersAcceptNullsTest >debug: org.mockitousage.junitrunner.VerboseMockitoRunnerTest >debug: org.mockitousage.junitrunner.UnusedStubsExceptionMessageTest >debug: org.mockitousage.junitrunner.StubbingWarningsJUnitRunnerTest >debug: org.mockitousage.junitrunner.StrictStubsRunnerTest >debug: org.mockitousage.junitrunner.StrictRunnerTest >debug: org.mockitousage.junitrunner.SilentRunnerTest >debug: org.mockitousage.junitrunner.ModellingVerboseMockitoTest >debug: org.mockitousage.junitrunner.JUnit45RunnerTest >debug: org.mockitousage.junitrunner.DeepStubbingWithJUnitRunnerTest >debug: org.mockitousage.junitrule.VerificationCollectorImplTest >debug: org.mockitousage.junitrule.StubbingWarningsMultiThreadingTest >debug: org.mockitousage.junitrule.StubbingWarningsJUnitRuleTest >debug: org.mockitousage.junitrule.StrictJUnitRuleTest >debug: org.mockitousage.junitrule.RuleTestWithParameterConstructorTest >debug: org.mockitousage.junitrule.RuleTestWithFactoryMethodTest >debug: org.mockitousage.junitrule.MutableStrictJUnitRuleTest >debug: org.mockitousage.junitrule.MockitoJUnitRuleTest >debug: org.mockitousage.junitrule.LenientJUnitRuleTest >debug: org.mockitousage.junitrule.InvalidTargetMockitoJUnitRuleTest >debug: org.mockitousage.jls.JLS_15_12_2_5Test >debug: org.mockitousage.internal.junit.UnusedStubbingsFinderTest >debug: org.mockitousage.internal.debugging.LocationImplTest >debug: org.mockitousage.examples.use.ExampleTest >debug: org.mockitousage.debugging.VerificationListenerCallBackTest >debug: org.mockitousage.debugging.VerboseLoggingOfInvocationsOnMockTest >debug: org.mockitousage.debugging.StubbingLookupListenerCallbackTest >debug: org.mockitousage.debugging.InvocationsPrinterTest >debug: org.mockitousage.debugging.InvocationListenerCallbackTest >debug: org.mockitousage.customization.BDDMockitoTest >debug: org.mockitousage.constructor.CreatingMocksWithConstructorTest >debug: org.mockitousage.configuration.CustomizedAnnotationForSmartMockTest >debug: org.mockitousage.configuration.ClassCacheVersusClassReloadingTest >debug: org.mockitousage.bugs.varargs.VarargsNotPlayingWithAnyObjectTest >debug: org.mockitousage.bugs.varargs.VarargsErrorWhenCallingRealMethodTest >debug: org.mockitousage.bugs.varargs.VarargsAndAnyObjectPicksUpExtraInvocationsTest >debug: org.mockitousage.bugs.injection.ShouldNotTryToInjectInFinalOrStaticFieldsTest >debug: org.mockitousage.bugs.injection.ParentTestMockInjectionTest >debug: org.mockitousage.bugs.injection.Issue353InjectionMightNotHappenInCertainConfigurationTest >debug: org.mockitousage.bugs.injection.InjectionByTypeShouldFirstLookForExactTypeThenAncestorTest >debug: org.mockitousage.bugs.injection.InjectMocksShouldTryPropertySettersFirstBeforeFieldAccessTest >debug: org.mockitousage.bugs.injection.ChildWithSameParentFieldInjectionTest >debug: org.mockitousage.bugs.deepstubs.DeepStubsWronglyReportsSerializationProblemsTest >debug: org.mockitousage.bugs.deepstubs.DeepStubFailingWhenGenericNestedAsRawTypeTest >debug: org.mockitousage.bugs.creation.ShouldAllowInlineMockCreationTest >debug: org.mockitousage.bugs.creation.PublicMethodInParentWithNonPublicTypeInSignatureTest >debug: org.mockitousage.bugs.creation.ConstructorInvokingMethodShouldNotRaiseExceptionTest >debug: org.mockitousage.bugs.VerifyingWithAnExtraCallToADifferentMockTest >debug: org.mockitousage.bugs.StubbingMocksThatAreConfiguredToReturnMocksTest >debug: org.mockitousage.bugs.SpyShouldHaveNiceNameTest >debug: org.mockitousage.bugs.ShouldOnlyModeAllowCapturingArgumentsTest >debug: org.mockitousage.bugs.ShouldNotDeadlockAnswerExecutionTest >debug: org.mockitousage.bugs.ShouldMocksCompareToBeConsistentWithEqualsTest >debug: org.mockitousage.bugs.NPEWithCertainMatchersTest >debug: org.mockitousage.bugs.NPEWhenMockingThrowablesTest >debug: org.mockitousage.bugs.NPEOnAnyClassMatcherAutounboxTest >debug: org.mockitousage.bugs.MultithreadedStubbingHalfManualTest >debug: org.mockitousage.bugs.MultipleInOrdersTest >debug: org.mockitousage.bugs.MockitoStubbedCallInAnswerTest >debug: org.mockitousage.bugs.MockitoRunnerBreaksWhenNoTestMethodsTest >debug: org.mockitousage.bugs.ListenersLostOnResetMockTest >debug: org.mockitousage.bugs.InheritedGenericsPolimorphicCallTest >debug: org.mockitousage.bugs.IOOBExceptionShouldNotBeThrownWhenNotCodingFluentlyTest >debug: org.mockitousage.bugs.GenericsMockitoAnnotationsTest >debug: org.mockitousage.bugs.FinalHashCodeAndEqualsRaiseNPEInInitMocksTest >debug: org.mockitousage.bugs.FillInStackTraceScenariosTest >debug: org.mockitousage.bugs.EqualsWithDeltaTest >debug: org.mockitousage.bugs.EnabledMockingInterfaceCloneMethodTest >debug: org.mockitousage.bugs.DiamondInheritanceIsConfusingMockitoTest >debug: org.mockitousage.bugs.CovariantOverrideTest >debug: org.mockitousage.bugs.ConfusedSignatureTest >debug: org.mockitousage.bugs.ConcurrentModificationExceptionOnMultiThreadedVerificationTest >debug: org.mockitousage.bugs.CompareMatcherTest >debug: org.mockitousage.bugs.ClassCastExOnVerifyZeroInteractionsTest >debug: org.mockitousage.bugs.CaptorAnnotationAutoboxingTest >debug: org.mockitousage.bugs.BridgeMethodsHitAgainTest >debug: org.mockitousage.bugs.ArgumentCaptorDontCapturePreviouslyVerifiedTest >debug: org.mockitousage.bugs.ActualInvocationHasNullArgumentNPEBugTest >debug: org.mockitousage.bugs.AIOOBExceptionWithAtLeastTest >debug: org.mockitousage.basicapi.UsingVarargsTest >debug: org.mockitousage.basicapi.ResetTest >debug: org.mockitousage.basicapi.ResetInvocationsTest >debug: org.mockitousage.basicapi.ReplacingObjectMethodsTest >debug: org.mockitousage.basicapi.ObjectsSerializationTest >debug: org.mockitousage.basicapi.MocksSerializationTest >debug: org.mockitousage.basicapi.MocksSerializationForAnnotationTest >debug: org.mockitousage.basicapi.MocksCreationTest >debug: org.mockitousage.basicapi.MockingMultipleInterfacesTest >debug: org.mockitousage.basicapi.MockAccessTest >debug: org.mockitousage.annotation.WrongSetOfAnnotationsTest >debug: org.mockitousage.annotation.SpyInjectionTest >debug: org.mockitousage.annotation.SpyAnnotationTest >debug: org.mockitousage.annotation.SpyAnnotationInitializedInBaseClassTest >debug: org.mockitousage.annotation.MockInjectionUsingSetterOrPropertyTest >debug: org.mockitousage.annotation.MockInjectionUsingConstructorTest >debug: org.mockitousage.annotation.MockInjectionUsingConstructorIssue421Test >debug: org.mockitousage.annotation.InjectionOfInlinedMockDeclarationTest >debug: org.mockitousage.annotation.DeprecatedAnnotationEngineApiTest >debug: org.mockitousage.annotation.CaptorAnnotationUnhappyPathTest >debug: org.mockitousage.annotation.CaptorAnnotationTest >debug: org.mockitousage.annotation.CaptorAnnotationBasicTest >debug: org.mockitousage.annotation.AnnotationsTest >debug: org.mockitousage.PlaygroundWithDemoOfUnclonedParametersProblemTest >debug: org.mockitousage.PlaygroundTest >debug: org.mockitousage.CompilationWarningsTest >debug: org.mockitointegration.NoJUnitDependenciesTest >debug: org.mockitointegration.NoByteCodeDependenciesTest >debug: org.mockito.verification.TimeoutTest >debug: org.mockito.verification.NegativeDurationTest >debug: org.mockito.runners.ConsoleSpammingMockitoJUnitRunnerTest >debug: org.mockito.internal.verification.checkers.NumberOfInvocationsInOrderCheckerTest >debug: org.mockito.internal.verification.checkers.NumberOfInvocationsCheckerTest >debug: org.mockito.internal.verification.checkers.MissingInvocationInOrderCheckerTest >debug: org.mockito.internal.verification.checkers.MissingInvocationCheckerTest >debug: org.mockito.internal.verification.checkers.AtLeastXNumberOfInvocationsCheckerTest >debug: org.mockito.internal.verification.argumentmatching.ArgumentMatchingToolTest >debug: org.mockito.internal.verification.VerificationWithDescriptionTest >debug: org.mockito.internal.verification.VerificationOverTimeImplTest >debug: org.mockito.internal.verification.VerificationDataImplTest >debug: org.mockito.internal.verification.SmartPrinterTest >debug: org.mockito.internal.verification.OnlyTest >debug: org.mockito.internal.verification.NoMoreInteractionsTest >debug: org.mockito.internal.verification.DescriptionTest >debug: org.mockito.internal.verification.DefaultRegisteredInvocationsTest >debug: org.mockito.internal.util.reflection.SuperTypesLastSorterTest >debug: org.mockito.internal.util.reflection.ParameterizedConstructorInstantiatorTest >debug: org.mockito.internal.util.reflection.LenientCopyToolTest >debug: org.mockito.internal.util.reflection.GenericTypeExtractorTest >debug: org.mockito.internal.util.reflection.GenericMetadataSupportTest >debug: org.mockito.internal.util.reflection.GenericMasterTest >debug: org.mockito.internal.util.reflection.GenericArrayReturnTypeTest >debug: org.mockito.internal.util.reflection.FieldsTest >debug: org.mockito.internal.util.reflection.FieldReaderTest >debug: org.mockito.internal.util.reflection.FieldInitializerTest >debug: org.mockito.internal.util.reflection.BeanPropertySetterTest >debug: org.mockito.internal.util.reflection.AccessibilityChangerTest >debug: org.mockito.internal.util.io.IOUtilTest >debug: org.mockito.internal.util.collections.ListUtilTest >debug: org.mockito.internal.util.collections.IdentitySetTest >debug: org.mockito.internal.util.collections.HashCodeAndEqualsSafeSetTest >debug: org.mockito.internal.util.TimerTest >debug: org.mockito.internal.util.StringUtilTest >debug: org.mockito.internal.util.SimpleMockitoLoggerTest >debug: org.mockito.internal.util.PrimitivesTest >debug: org.mockito.internal.util.PlatformTest >debug: org.mockito.internal.util.ObjectMethodsGuruTest >debug: org.mockito.internal.util.MockUtilTest >debug: org.mockito.internal.util.MockSettingsTest >debug: org.mockito.internal.util.MockNameImplTest >debug: org.mockito.internal.util.MockCreationValidatorTest >debug: org.mockito.internal.util.DefaultMockingDetailsTest >debug: org.mockito.internal.util.ChecksTest >debug: org.mockito.internal.stubbing.defaultanswers.ReturnsSmartNullsTest >debug: org.mockito.internal.stubbing.defaultanswers.ReturnsMoreEmptyValuesTest >debug: org.mockito.internal.stubbing.defaultanswers.ReturnsMocksTest >debug: org.mockito.internal.stubbing.defaultanswers.ReturnsGenericDeepStubsTest >debug: org.mockito.internal.stubbing.defaultanswers.ReturnsEmptyValuesTest >debug: org.mockito.internal.stubbing.defaultanswers.ForwardsInvocationsTest >debug: org.mockito.internal.stubbing.answers.ThrowsExceptionTest >debug: org.mockito.internal.stubbing.answers.ReturnsTest >debug: org.mockito.internal.stubbing.answers.ReturnsArgumentAtTest >debug: org.mockito.internal.stubbing.answers.InvocationInfoTest >debug: org.mockito.internal.stubbing.answers.DoesNothingTest >debug: org.mockito.internal.stubbing.answers.DefaultAnswerValidatorTest >debug: org.mockito.internal.stubbing.answers.CallsRealMethodsTest >debug: org.mockito.internal.stubbing.answers.AnswersWithDelayTest >debug: org.mockito.internal.stubbing.InvocationContainerImplTest >debug: org.mockito.internal.stubbing.InvocationContainerImplStubbingTest >debug: org.mockito.internal.session.DefaultMockitoSessionBuilderTest >debug: org.mockito.internal.runners.util.TestMethodsFinderTest >debug: org.mockito.internal.runners.util.RunnerProviderTest >debug: org.mockito.internal.runners.DefaultInternalRunnerTest >debug: org.mockito.internal.reporting.PluralizerTest >debug: org.mockito.internal.progress.TimesTest >debug: org.mockito.internal.progress.ThreadSafeMockingProgressTest >debug: org.mockito.internal.progress.MockingProgressImplTest >debug: org.mockito.internal.progress.AtLeastTest >debug: org.mockito.internal.matchers.text.ValuePrinterTest >debug: org.mockito.internal.matchers.text.MatcherToStringTest >debug: org.mockito.internal.matchers.apachecommons.EqualsBuilderTest >debug: org.mockito.internal.matchers.StringMatchersTest >debug: org.mockito.internal.matchers.MatchersToStringTest >debug: org.mockito.internal.matchers.MatchersPrinterTest >debug: org.mockito.internal.matchers.InstanceOfTest >debug: org.mockito.internal.matchers.EqualsTest >debug: org.mockito.internal.matchers.EqualityTest >debug: org.mockito.internal.matchers.ComparableMatchersTest >debug: org.mockito.internal.matchers.CapturingMatcherTest >debug: org.mockito.internal.listeners.VerificationStartedNotifierTest >debug: org.mockito.internal.listeners.StubbingLookupNotifierTest >debug: org.mockito.internal.junit.util.JUnitFailureHackerTest >debug: org.mockito.internal.junit.UnusedStubbingsTest >debug: org.mockito.internal.junit.StubbingArgMismatchesTest >debug: org.mockito.internal.junit.ExceptionFactoryTest >debug: org.mockito.internal.junit.ArgMismatchFinderTest >debug: org.mockito.internal.invocation.mockref.MockWeakReferenceTest >debug: org.mockito.internal.invocation.TypeSafeMatchingTest >debug: org.mockito.internal.invocation.SerializableMethodTest >debug: org.mockito.internal.invocation.MatcherApplicationStrategyTest >debug: org.mockito.internal.invocation.InvocationsFinderTest >debug: org.mockito.internal.invocation.InvocationMatcherTest >debug: org.mockito.internal.invocation.InvocationMarkerTest >debug: org.mockito.internal.handler.MockHandlerImplTest >debug: org.mockito.internal.handler.MockHandlerFactoryTest >debug: org.mockito.internal.handler.InvocationNotifierHandlerTest >debug: org.mockito.internal.hamcrest.MatcherGenericTypeExtractorTest >debug: org.mockito.internal.framework.DefaultMockitoFrameworkTest >debug: org.mockito.internal.exceptions.util.ScenarioPrinterTest >debug: org.mockito.internal.exceptions.stacktrace.StackTraceFilterTest >debug: org.mockito.internal.exceptions.stacktrace.ConditionalStackTraceFilterTest >debug: org.mockito.internal.exceptions.ReporterTest >debug: org.mockito.internal.debugging.WarningsFinderTest >debug: org.mockito.internal.debugging.VerboseMockInvocationLoggerTest >debug: org.mockito.internal.debugging.LoggingListenerTest >debug: org.mockito.internal.creation.instance.ConstructorInstantiatorTest >debug: org.mockito.internal.creation.bytebuddy.TypeCachingMockBytecodeGeneratorTest >debug: org.mockito.internal.creation.bytebuddy.SubclassByteBuddyMockMakerTest >debug: org.mockito.internal.creation.bytebuddy.InlineByteBuddyMockMakerTest >debug: org.mockito.internal.creation.bytebuddy.ByteBuddyMockMakerTest >debug: org.mockito.internal.creation.MockSettingsImplTest >debug: org.mockito.internal.creation.InterfaceOverrideTest >debug: org.mockito.internal.creation.DelegatingMethodTest >debug: org.mockito.internal.configuration.plugins.PluginLoaderTest >debug: org.mockito.internal.configuration.plugins.PluginFinderTest >debug: org.mockito.internal.configuration.plugins.PluginFileReaderTest >debug: org.mockito.internal.configuration.plugins.DefaultMockitoPluginsTest >debug: org.mockito.internal.configuration.injection.SimpleArgumentResolverTest >debug: org.mockito.internal.configuration.injection.ConstructorInjectionTest >debug: org.mockito.internal.configuration.MockInjectionTest >debug: org.mockito.internal.configuration.GlobalConfigurationTest >debug: org.mockito.internal.configuration.ClassPathLoaderTest >debug: org.mockito.internal.InvalidStateDetectionTest >debug: org.mockito.internal.InOrderImplTest >debug: org.mockito.internal.AllInvocationsFinderTest >debug: org.mockito.exceptions.stacktrace.StackTraceCleanerTest >debug: org.mockito.exceptions.base.MockitoSerializationIssueTest >debug: org.mockito.exceptions.base.MockitoExceptionTest >debug: org.mockito.exceptions.base.MockitoAssertionErrorTest >debug: org.mockito.StaticMockingExperimentTest >debug: org.mockito.MockitoTest >debug: org.mockito.InvocationFactoryTest >debug: org.mockito.ArgumentCaptorTest >debug: org.mockito.AnnotationsAreCopiedFromMockedTypeTest >debug: org.concurrentmockito.VerificationInOrderFromMultipleThreadsTest >debug: org.concurrentmockito.ThreadsShareGenerouslyStubbedMockTest >debug: org.concurrentmockito.ThreadsShareAMockTest >debug: org.concurrentmockito.ThreadsRunAllTestsHalfManualTest >debug: org.concurrentmockito.ThreadVerifiesContinuouslyInteractingMockTest >JUnit version 4.13.2-SNAPSHOT >.[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 200 millis. Threads so far: 1 >[AsyncTesting] Interrupting and waiting for 2 threads to complete... >I.[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... >I.[AsyncTesting] Starting thread that will execute the runnable after 200 millis. Threads so far: 0 >[AsyncTesting] Interrupting and waiting for 1 threads to complete... >I.[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... >.[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... >I.[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... >I.[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... >I.I...........[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... >.................................................................................................................................I....II.....................................................................................................E...................................................................................................................................................................................................I...........................................E.......OpenJDK 64-Bit Server VM warning: Sharing is only supported for boot loader classes because bootstrap classpath has been appended >.I.I........................................I...E.....I...E.[MockitoHint] VarargsTest.shouldNotMatchVaraArgs (see javadoc for MockitoHint): >[MockitoHint] 1. Unused -> at org.mockitousage.matchers.VarargsTest.shouldNotMatchVaraArgs(VarargsTest.java:336) > >I...E..I.E..E.....E..I...........................................................I....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:541) > 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:94) > 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:77) > at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) > at java.base/java.lang.reflect.Method.invoke(Method.java:568) > at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:59) > at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) > at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:61) > 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$3.evaluate(ParentRunner.java:306) > at org.junit.runners.BlockJUnit4ClassRunner$1.evaluate(BlockJUnit4ClassRunner.java:100) > at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:366) > at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:103) > at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:63) > at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331) > at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79) > at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329) > at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66) > at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293) > at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) > at org.junit.runners.ParentRunner.run(ParentRunner.java:413) > 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$4.run(ParentRunner.java:331) > at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79) > at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329) > at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66) > at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293) > at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) > at org.junit.runners.ParentRunner.run(ParentRunner.java:413) > at org.junit.runner.JUnitCore.run(JUnitCore.java:137) > at org.junit.runner.JUnitCore.run(JUnitCore.java:115) > at org.junit.runner.JUnitCore.runMain(JUnitCore.java:77) > at org.junit.runner.JUnitCore.main(JUnitCore.java:36) >...EE......................................II.................I..................................................................................................................................................................................................................I............E...............started 0 >.finished0 >[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) > >...................................................................................................................................................... >Time: 0.001 > >OK (3 tests) > >..............................OpenJDK 64-Bit Server VM warning: Sharing is only supported for boot loader classes because bootstrap classpath has been appended >...................................................................................................................................................................................Java : 17 >JVM vendor name : Gentoo >JVM vendor version : 17.0.6+10 >JVM name : OpenJDK 64-Bit Server VM >JVM version : 17.0.6+10 >JVM info : mixed mode, sharing >OS name : Linux >OS version : 4.19.277-gentoo > >.........................................................................E..............................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:77) > at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) > at java.base/java.lang.reflect.Method.invoke(Method.java:568) > at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:59) > at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) > at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:61) > at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) > at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) > at org.junit.runners.BlockJUnit4ClassRunner$1.evaluate(BlockJUnit4ClassRunner.java:100) > at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:366) > at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:103) > at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:63) > at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331) > at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79) > at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329) > at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66) > at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293) > at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) > at org.junit.runners.ParentRunner.run(ParentRunner.java:413) > at org.junit.runners.Suite.runChild(Suite.java:128) > at org.junit.runners.Suite.runChild(Suite.java:27) > at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331) > at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79) > at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329) > at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66) > at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293) > at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) > at org.junit.runners.ParentRunner.run(ParentRunner.java:413) > at org.junit.runner.JUnitCore.run(JUnitCore.java:137) > at org.junit.runner.JUnitCore.run(JUnitCore.java:115) > at org.junit.runner.JUnitCore.runMain(JUnitCore.java:77) > at org.junit.runner.JUnitCore.main(JUnitCore.java:36) >..........................................................................................................................................................................................................org.mockito.internal.exceptions.ExceptionIncludingMockitoWarnings: contains both: actual test failure *and* Mockito warnings. >unused stubbing blah > *** The actual failure is because of: *** > >...................................................................................................................................############ 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 > > >. >..............................E................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:216) > at org.mockito.internal.creation.bytebuddy.InlineByteBuddyMockMaker.createMockType(InlineByteBuddyMockMaker.java:204) > at org.mockito.internal.creation.bytebuddy.InlineByteBuddyMockMaker.createMock(InlineByteBuddyMockMaker.java:178) > 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:77) > at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) > at java.base/java.lang.reflect.Method.invoke(Method.java:568) > at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:59) > at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) > at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:61) > at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) > at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) > at org.junit.runners.BlockJUnit4ClassRunner$1.evaluate(BlockJUnit4ClassRunner.java:100) > at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:366) > at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:103) > at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:63) > at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331) > at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79) > at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329) > at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66) > at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293) > at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) > at org.junit.runners.ParentRunner.run(ParentRunner.java:413) > at org.junit.runners.Suite.runChild(Suite.java:128) > at org.junit.runners.Suite.runChild(Suite.java:27) > at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331) > at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79) > at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329) > at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66) > at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293) > at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) > at org.junit.runners.ParentRunner.run(ParentRunner.java:413) > at org.junit.runner.JUnitCore.run(JUnitCore.java:137) > at org.junit.runner.JUnitCore.run(JUnitCore.java:115) > at org.junit.runner.JUnitCore.runMain(JUnitCore.java:77) > at org.junit.runner.JUnitCore.main(JUnitCore.java:36) >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:168) > at net.bytebuddy.TypeCache$WithInlineExpunction.findOrInsert(TypeCache.java:399) > at net.bytebuddy.TypeCache.findOrInsert(TypeCache.java:190) > at net.bytebuddy.TypeCache$WithInlineExpunction.findOrInsert(TypeCache.java:410) > at org.mockito.internal.creation.bytebuddy.TypeCachingBytecodeGenerator.mockClass(TypeCachingBytecodeGenerator.java:32) > at org.mockito.internal.creation.bytebuddy.InlineByteBuddyMockMaker.createMockType(InlineByteBuddyMockMaker.java:197) > ... 35 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:169) > at org.mockito.internal.creation.bytebuddy.InlineBytecodeGenerator.triggerRetransformation(InlineBytecodeGenerator.java:173) > ... 44 more >.......................E.....................................................................................................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:541) > 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:94) > 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:77) > at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) > at java.base/java.lang.reflect.Method.invoke(Method.java:568) > at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:59) > at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) > at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:61) > 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$3.evaluate(ParentRunner.java:306) > at org.junit.runners.BlockJUnit4ClassRunner$1.evaluate(BlockJUnit4ClassRunner.java:100) > at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:366) > at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:103) > at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:63) > at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331) > at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79) > at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329) > at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66) > at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293) > at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) > at org.junit.runners.ParentRunner.run(ParentRunner.java:413) > 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$4.run(ParentRunner.java:331) > at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79) > at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329) > at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66) > at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293) > at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) > at org.junit.runners.ParentRunner.run(ParentRunner.java:413) > 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:541) > 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:94) > 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:77) > at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) > at java.base/java.lang.reflect.Method.invoke(Method.java:568) > at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:59) > at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) > at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:61) > 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$3.evaluate(ParentRunner.java:306) > at org.junit.runners.BlockJUnit4ClassRunner$1.evaluate(BlockJUnit4ClassRunner.java:100) > at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:366) > at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:103) > at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:63) > at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331) > at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79) > at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329) > at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66) > at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293) > at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) > at org.junit.runners.ParentRunner.run(ParentRunner.java:413) > 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$4.run(ParentRunner.java:331) > at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79) > at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329) > at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66) > at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293) > at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) > at org.junit.runners.ParentRunner.run(ParentRunner.java:413) > 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:541) > 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:94) > 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:77) > at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) > at java.base/java.lang.reflect.Method.invoke(Method.java:568) > at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:59) > at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) > at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:61) > 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$3.evaluate(ParentRunner.java:306) > at org.junit.runners.BlockJUnit4ClassRunner$1.evaluate(BlockJUnit4ClassRunner.java:100) > at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:366) > at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:103) > at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:63) > at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331) > at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79) > at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329) > at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66) > at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293) > at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) > at org.junit.runners.ParentRunner.run(ParentRunner.java:413) > 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$4.run(ParentRunner.java:331) > at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79) > at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329) > at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66) > at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293) > at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) > at org.junit.runners.ParentRunner.run(ParentRunner.java:413) > 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) >Thread[6059]: error! >2 >java.lang.AssertionError: >Expecting message: > <null> >but was: > <"Cannot invoke "java.lang.Integer.intValue()" because the return value of "org.mockito.ArgumentMatchers.any()" is null"> > at org.mockitousage.matchers.InvalidUseOfMatchersTest.should_mention_matcher_when_misuse_detected(InvalidUseOfMatchersTest.java:114) > at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77) > at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) > at java.base/java.lang.reflect.Method.invoke(Method.java:568) > at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:59) > at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) > at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:61) > 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$3.evaluate(ParentRunner.java:306) > at org.junit.runners.BlockJUnit4ClassRunner$1.evaluate(BlockJUnit4ClassRunner.java:100) > at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:366) > at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:103) > at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:63) > at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331) > at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79) > at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329) > at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66) > at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293) > at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) > at org.junit.runners.ParentRunner.run(ParentRunner.java:413) > 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$4.run(ParentRunner.java:331) > at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79) > at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329) > at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66) > at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293) > at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) > at org.junit.runners.ParentRunner.run(ParentRunner.java:413) > 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.UnfinishedStubbingException: >Unfinished stubbing detected here: >-> at org.mockitousage.matchers.InvalidUseOfMatchersTest$ObjectMatcherMisuseOnPrimitiveSite.fails_with_NPE(InvalidUseOfMatchersTest.java:126) > >E.g. thenReturn() may be missing. >Examples of correct stubbing: > when(mock.isOk()).thenReturn(true); > when(mock.isOk()).thenThrow(exception); > doThrow(exception).when(mock).someVoidMethod(); >Hints: > 1. missing thenReturn() > 2. you are trying to stub a final method, which is not supported > 3: you are stubbing the behaviour of another mock inside before 'thenReturn' instruction is completed > > at org.mockito.internal.exceptions.Reporter.unfinishedStubbing(Reporter.java:74) > at org.mockito.internal.progress.MockingProgressImpl.validateState(MockingProgressImpl.java:112) > at org.mockito.internal.MockitoCore.validateMockitoUsage(MockitoCore.java:184) > at org.mockito.Mockito.validateMockitoUsage(Mockito.java:2936) > at org.mockito.internal.runners.DefaultInternalRunner$1$2.testFinished(DefaultInternalRunner.java:65) > at org.junit.runner.notification.SynchronizedRunListener.testFinished(SynchronizedRunListener.java:87) > at org.junit.runner.notification.RunNotifier$9.notifyListener(RunNotifier.java:225) > at org.junit.runner.notification.RunNotifier$SafeNotifier.run(RunNotifier.java:72) > at org.junit.runner.notification.RunNotifier.fireTestFinished(RunNotifier.java:227) > at org.junit.internal.runners.model.EachTestNotifier.fireTestFinished(EachTestNotifier.java:38) > at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:372) > at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:103) > at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:63) > at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331) > at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79) > at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329) > at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66) > at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293) > at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) > at org.junit.runners.ParentRunner.run(ParentRunner.java:413) > 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$4.run(ParentRunner.java:331) > at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79) > at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329) > at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66) > at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293) > at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) > at org.junit.runners.ParentRunner.run(ParentRunner.java:413) > 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) > >Thread[6060]: error! >2 >java.lang.AssertionError: >Expecting message: > <null> >but was: > <"Cannot invoke "java.lang.Integer.intValue()" because the return value of "org.mockito.ArgumentMatchers.any()" is null"> > at org.mockitousage.matchers.InvalidUseOfMatchersTest.should_mention_matcher_when_misuse_detected(InvalidUseOfMatchersTest.java:114) > at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77) > at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) > at java.base/java.lang.reflect.Method.invoke(Method.java:568) > at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:59) > at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) > at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:61) > 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$3.evaluate(ParentRunner.java:306) > at org.junit.runners.BlockJUnit4ClassRunner$1.evaluate(BlockJUnit4ClassRunner.java:100) > at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:366) > at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:103) > at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:63) > at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331) > at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79) > at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329) > at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66) > at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293) > at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) > at org.junit.runners.ParentRunner.run(ParentRunner.java:413) > 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$4.run(ParentRunner.java:331) > at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79) > at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329) > at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66) > at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293) > at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) > at org.junit.runners.ParentRunner.run(ParentRunner.java:413) > 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.UnfinishedStubbingException: >Unfinished stubbing detected here: >-> at org.mockitousage.matchers.InvalidUseOfMatchersTest$ObjectMatcherMisuseOnPrimitiveSite.fails_with_NPE(InvalidUseOfMatchersTest.java:126) > >E.g. thenReturn() may be missing. >Examples of correct stubbing: > when(mock.isOk()).thenReturn(true); > when(mock.isOk()).thenThrow(exception); > doThrow(exception).when(mock).someVoidMethod(); >Hints: > 1. missing thenReturn() > 2. you are trying to stub a final method, which is not supported > 3: you are stubbing the behaviour of another mock inside before 'thenReturn' instruction is completed > > at org.mockito.internal.exceptions.Reporter.unfinishedStubbing(Reporter.java:74) > at org.mockito.internal.progress.MockingProgressImpl.validateState(MockingProgressImpl.java:112) > at org.mockito.internal.MockitoCore.validateMockitoUsage(MockitoCore.java:184) > at org.mockito.Mockito.validateMockitoUsage(Mockito.java:2936) > at org.mockito.internal.runners.DefaultInternalRunner$1$2.testFinished(DefaultInternalRunner.java:65) > at org.junit.runner.notification.SynchronizedRunListener.testFinished(SynchronizedRunListener.java:87) > at org.junit.runner.notification.RunNotifier$9.notifyListener(RunNotifier.java:225) > at org.junit.runner.notification.RunNotifier$SafeNotifier.run(RunNotifier.java:72) > at org.junit.runner.notification.RunNotifier.fireTestFinished(RunNotifier.java:227) > at org.junit.internal.runners.model.EachTestNotifier.fireTestFinished(EachTestNotifier.java:38) > at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:372) > at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:103) > at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:63) > at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331) > at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79) > at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329) > at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66) > at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293) > at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) > at org.junit.runners.ParentRunner.run(ParentRunner.java:413) > 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$4.run(ParentRunner.java:331) > at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79) > at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329) > at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66) > at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293) > at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) > at org.junit.runners.ParentRunner.run(ParentRunner.java:413) > 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) > >Thread[6058]: error! >2 >java.lang.AssertionError: >Expecting message: > <null> >but was: > <"Cannot invoke "java.lang.Integer.intValue()" because the return value of "org.mockito.ArgumentMatchers.any()" is null"> > at org.mockitousage.matchers.InvalidUseOfMatchersTest.should_mention_matcher_when_misuse_detected(InvalidUseOfMatchersTest.java:114) > at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77) > at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) > at java.base/java.lang.reflect.Method.invoke(Method.java:568) > at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:59) > at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) > at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:61) > 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$3.evaluate(ParentRunner.java:306) > at org.junit.runners.BlockJUnit4ClassRunner$1.evaluate(BlockJUnit4ClassRunner.java:100) > at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:366) > at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:103) > at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:63) > at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331) > at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79) > at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329) > at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66) > at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293) > at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) > at org.junit.runners.ParentRunner.run(ParentRunner.java:413) > 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$4.run(ParentRunner.java:331) > at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79) > at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329) > at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66) > at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293) > at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) > at org.junit.runners.ParentRunner.run(ParentRunner.java:413) > 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.UnfinishedStubbingException: >Unfinished stubbing detected here: >-> at org.mockitousage.matchers.InvalidUseOfMatchersTest$ObjectMatcherMisuseOnPrimitiveSite.fails_with_NPE(InvalidUseOfMatchersTest.java:126) > >E.g. thenReturn() may be missing. >Examples of correct stubbing: > when(mock.isOk()).thenReturn(true); > when(mock.isOk()).thenThrow(exception); > doThrow(exception).when(mock).someVoidMethod(); >Hints: > 1. missing thenReturn() > 2. you are trying to stub a final method, which is not supported > 3: you are stubbing the behaviour of another mock inside before 'thenReturn' instruction is completed > > at org.mockito.internal.exceptions.Reporter.unfinishedStubbing(Reporter.java:74) > at org.mockito.internal.progress.MockingProgressImpl.validateState(MockingProgressImpl.java:112) > at org.mockito.internal.MockitoCore.validateMockitoUsage(MockitoCore.java:184) > at org.mockito.Mockito.validateMockitoUsage(Mockito.java:2936) > at org.mockito.internal.runners.DefaultInternalRunner$1$2.testFinished(DefaultInternalRunner.java:65) > at org.junit.runner.notification.SynchronizedRunListener.testFinished(SynchronizedRunListener.java:87) > at org.junit.runner.notification.RunNotifier$9.notifyListener(RunNotifier.java:225) > at org.junit.runner.notification.RunNotifier$SafeNotifier.run(RunNotifier.java:72) > at org.junit.runner.notification.RunNotifier.fireTestFinished(RunNotifier.java:227) > at org.junit.internal.runners.model.EachTestNotifier.fireTestFinished(EachTestNotifier.java:38) > at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:372) > at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:103) > at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:63) > at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331) > at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79) > at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329) > at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66) > at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293) > at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) > at org.junit.runners.ParentRunner.run(ParentRunner.java:413) > 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$4.run(ParentRunner.java:331) > at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79) > at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329) > at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66) > at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293) > at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) > at org.junit.runners.ParentRunner.run(ParentRunner.java:413) > 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) > >E. >Time: 46.67 >There were 15 failures: >1) null_wrapper_dont_throw_exception_from_org_mockito_package(org.mockitousage.stubbing.StubbingWithDelegateTest) >java.lang.AssertionError: >Expecting: > <"java.lang.NullPointerException: Cannot invoke "java.lang.Byte.byteValue()" because the return value of "org.mockitousage.IMethods.byteObjectReturningMethod()" is null"> >not to contain: > <"org.mockito"> > > at org.mockitousage.stubbing.StubbingWithDelegateTest.null_wrapper_dont_throw_exception_from_org_mockito_package(StubbingWithDelegateTest.java:107) >2) should_discard_generics_metadata_when_serialized_then_disabling_deep_stubs_with_generics(org.mockitousage.serialization.DeepStubsSerializableTest) >java.lang.AssertionError: >Expecting message: > <null> >but was: > <"Cannot invoke "java.util.List.get(int)" because the return value of "java.util.Iterator.next()" is null"> > at org.mockitousage.serialization.DeepStubsSerializableTest.should_discard_generics_metadata_when_serialized_then_disabling_deep_stubs_with_generics(DeepStubsSerializableTest.java:66) >3) shouldMatchVarArgs_nullArrayArg(org.mockitousage.matchers.VarargsTest) >Wanted but not invoked: >mock.varargs(isNull()); >-> at org.mockitousage.matchers.VarargsTest.shouldMatchVarArgs_nullArrayArg(VarargsTest.java:102) > >However, there was exactly 1 interaction with this mock: >mock.varargs(null); >-> at org.mockitousage.matchers.VarargsTest.shouldMatchVarArgs_nullArrayArg(VarargsTest.java:100) > > > at org.mockito.internal.exceptions.Reporter.wantedButNotInvoked(Reporter.java:352) > at org.mockito.internal.verification.checkers.MissingInvocationChecker.checkMissingInvocation(MissingInvocationChecker.java:40) > at org.mockito.internal.verification.Times.verify(Times.java:37) > at org.mockito.internal.verification.MockAwareVerificationMode.verify(MockAwareVerificationMode.java:27) > at org.mockito.internal.handler.MockHandlerImpl.handle(MockHandlerImpl.java:72) > at org.mockito.internal.handler.NullResultGuardian.handle(NullResultGuardian.java:29) > at org.mockito.internal.handler.InvocationNotifierHandler.handle(InvocationNotifierHandler.java:35) > at org.mockito.internal.creation.bytebuddy.MockMethodInterceptor.doIntercept(MockMethodInterceptor.java:61) > at org.mockito.internal.creation.bytebuddy.MockMethodInterceptor.doIntercept(MockMethodInterceptor.java:49) > at org.mockito.internal.creation.bytebuddy.MockMethodInterceptor$DispatcherDefaultingToRealMethod.interceptAbstract(MockMethodInterceptor.java:126) > at org.mockitousage.IMethods$MockitoMock$1744013724.varargs(Unknown Source) > at org.mockitousage.matchers.VarargsTest.shouldMatchVarArgs_nullArrayArg(VarargsTest.java:102) >4) shouldMatchVarArgs_oneArgsOneAnyMatcher(org.mockitousage.matchers.VarargsTest) >Wanted but not invoked: >mock.varargs(<any>); >-> at org.mockitousage.matchers.VarargsTest.shouldMatchVarArgs_oneArgsOneAnyMatcher(VarargsTest.java:125) > >However, there was exactly 1 interaction with this mock: >mock.varargs(1); >-> at org.mockitousage.matchers.VarargsTest.shouldMatchVarArgs_oneArgsOneAnyMatcher(VarargsTest.java:123) > > > at org.mockito.internal.exceptions.Reporter.wantedButNotInvoked(Reporter.java:352) > at org.mockito.internal.verification.checkers.MissingInvocationChecker.checkMissingInvocation(MissingInvocationChecker.java:40) > at org.mockito.internal.verification.Times.verify(Times.java:37) > at org.mockito.internal.verification.MockAwareVerificationMode.verify(MockAwareVerificationMode.java:27) > at org.mockito.internal.handler.MockHandlerImpl.handle(MockHandlerImpl.java:72) > at org.mockito.internal.handler.NullResultGuardian.handle(NullResultGuardian.java:29) > at org.mockito.internal.handler.InvocationNotifierHandler.handle(InvocationNotifierHandler.java:35) > at org.mockito.internal.creation.bytebuddy.MockMethodInterceptor.doIntercept(MockMethodInterceptor.java:61) > at org.mockito.internal.creation.bytebuddy.MockMethodInterceptor.doIntercept(MockMethodInterceptor.java:49) > at org.mockito.internal.creation.bytebuddy.MockMethodInterceptor$DispatcherDefaultingToRealMethod.interceptAbstract(MockMethodInterceptor.java:126) > at org.mockitousage.IMethods$MockitoMock$1744013724.varargs(Unknown Source) > at org.mockitousage.matchers.VarargsTest.shouldMatchVarArgs_oneArgsOneAnyMatcher(VarargsTest.java:125) >5) shouldMatchVarArgs_twoArgsTwoAnyMatcher(org.mockitousage.matchers.VarargsTest) >Wanted but not invoked: >mock.varargs(<any>, <any>); >-> at org.mockitousage.matchers.VarargsTest.shouldMatchVarArgs_twoArgsTwoAnyMatcher(VarargsTest.java:139) > >However, there was exactly 1 interaction with this mock: >mock.varargs(1, 2); >-> at org.mockitousage.matchers.VarargsTest.shouldMatchVarArgs_twoArgsTwoAnyMatcher(VarargsTest.java:137) > > > at org.mockito.internal.exceptions.Reporter.wantedButNotInvoked(Reporter.java:352) > at org.mockito.internal.verification.checkers.MissingInvocationChecker.checkMissingInvocation(MissingInvocationChecker.java:40) > at org.mockito.internal.verification.Times.verify(Times.java:37) > at org.mockito.internal.verification.MockAwareVerificationMode.verify(MockAwareVerificationMode.java:27) > at org.mockito.internal.handler.MockHandlerImpl.handle(MockHandlerImpl.java:72) > at org.mockito.internal.handler.NullResultGuardian.handle(NullResultGuardian.java:29) > at org.mockito.internal.handler.InvocationNotifierHandler.handle(InvocationNotifierHandler.java:35) > at org.mockito.internal.creation.bytebuddy.MockMethodInterceptor.doIntercept(MockMethodInterceptor.java:61) > at org.mockito.internal.creation.bytebuddy.MockMethodInterceptor.doIntercept(MockMethodInterceptor.java:49) > at org.mockito.internal.creation.bytebuddy.MockMethodInterceptor$DispatcherDefaultingToRealMethod.interceptAbstract(MockMethodInterceptor.java:126) > at org.mockitousage.IMethods$MockitoMock$1744013724.varargs(Unknown Source) > at org.mockitousage.matchers.VarargsTest.shouldMatchVarArgs_twoArgsTwoAnyMatcher(VarargsTest.java:139) >6) shouldMatchVarArgs_oneNullArg_eqNull(org.mockitousage.matchers.VarargsTest) >Wanted but not invoked: >mock.varargs(null); >-> at org.mockitousage.matchers.VarargsTest.shouldMatchVarArgs_oneNullArg_eqNull(VarargsTest.java:86) > >However, there was exactly 1 interaction with this mock: >mock.varargs(null); >-> at org.mockitousage.matchers.VarargsTest.shouldMatchVarArgs_oneNullArg_eqNull(VarargsTest.java:84) > > > at org.mockito.internal.exceptions.Reporter.wantedButNotInvoked(Reporter.java:352) > at org.mockito.internal.verification.checkers.MissingInvocationChecker.checkMissingInvocation(MissingInvocationChecker.java:40) > at org.mockito.internal.verification.Times.verify(Times.java:37) > at org.mockito.internal.verification.MockAwareVerificationMode.verify(MockAwareVerificationMode.java:27) > at org.mockito.internal.handler.MockHandlerImpl.handle(MockHandlerImpl.java:72) > at org.mockito.internal.handler.NullResultGuardian.handle(NullResultGuardian.java:29) > at org.mockito.internal.handler.InvocationNotifierHandler.handle(InvocationNotifierHandler.java:35) > at org.mockito.internal.creation.bytebuddy.MockMethodInterceptor.doIntercept(MockMethodInterceptor.java:61) > at org.mockito.internal.creation.bytebuddy.MockMethodInterceptor.doIntercept(MockMethodInterceptor.java:49) > at org.mockito.internal.creation.bytebuddy.MockMethodInterceptor$DispatcherDefaultingToRealMethod.interceptAbstract(MockMethodInterceptor.java:126) > at org.mockitousage.IMethods$MockitoMock$1744013724.varargs(Unknown Source) > at org.mockitousage.matchers.VarargsTest.shouldMatchVarArgs_oneNullArg_eqNull(VarargsTest.java:86) >7) shouldMatchVarArgs_oneNullArg_isNull(org.mockitousage.matchers.VarargsTest) >Wanted but not invoked: >mock.varargs(isNull()); >-> at org.mockitousage.matchers.VarargsTest.shouldMatchVarArgs_oneNullArg_isNull(VarargsTest.java:94) > >However, there was exactly 1 interaction with this mock: >mock.varargs(null); >-> at org.mockitousage.matchers.VarargsTest.shouldMatchVarArgs_oneNullArg_isNull(VarargsTest.java:92) > > > at org.mockito.internal.exceptions.Reporter.wantedButNotInvoked(Reporter.java:352) > at org.mockito.internal.verification.checkers.MissingInvocationChecker.checkMissingInvocation(MissingInvocationChecker.java:40) > at org.mockito.internal.verification.Times.verify(Times.java:37) > at org.mockito.internal.verification.MockAwareVerificationMode.verify(MockAwareVerificationMode.java:27) > at org.mockito.internal.handler.MockHandlerImpl.handle(MockHandlerImpl.java:72) > at org.mockito.internal.handler.NullResultGuardian.handle(NullResultGuardian.java:29) > at org.mockito.internal.handler.InvocationNotifierHandler.handle(InvocationNotifierHandler.java:35) > at org.mockito.internal.creation.bytebuddy.MockMethodInterceptor.doIntercept(MockMethodInterceptor.java:61) > at org.mockito.internal.creation.bytebuddy.MockMethodInterceptor.doIntercept(MockMethodInterceptor.java:49) > at org.mockito.internal.creation.bytebuddy.MockMethodInterceptor$DispatcherDefaultingToRealMethod.interceptAbstract(MockMethodInterceptor.java:126) > at org.mockitousage.IMethods$MockitoMock$1744013724.varargs(Unknown Source) > at org.mockitousage.matchers.VarargsTest.shouldMatchVarArgs_oneNullArg_isNull(VarargsTest.java:94) >8) shouldMatchVarArgs_twoArgsOneAnyMatcher(org.mockitousage.matchers.VarargsTest) >Wanted but not invoked: >mock.varargs(<any>); >-> at org.mockitousage.matchers.VarargsTest.shouldMatchVarArgs_twoArgsOneAnyMatcher(VarargsTest.java:132) > >However, there was exactly 1 interaction with this mock: >mock.varargs(1, 2); >-> at org.mockitousage.matchers.VarargsTest.shouldMatchVarArgs_twoArgsOneAnyMatcher(VarargsTest.java:130) > > > at org.mockito.internal.exceptions.Reporter.wantedButNotInvoked(Reporter.java:352) > at org.mockito.internal.verification.checkers.MissingInvocationChecker.checkMissingInvocation(MissingInvocationChecker.java:40) > at org.mockito.internal.verification.Times.verify(Times.java:37) > at org.mockito.internal.verification.MockAwareVerificationMode.verify(MockAwareVerificationMode.java:27) > at org.mockito.internal.handler.MockHandlerImpl.handle(MockHandlerImpl.java:72) > at org.mockito.internal.handler.NullResultGuardian.handle(NullResultGuardian.java:29) > at org.mockito.internal.handler.InvocationNotifierHandler.handle(InvocationNotifierHandler.java:35) > at org.mockito.internal.creation.bytebuddy.MockMethodInterceptor.doIntercept(MockMethodInterceptor.java:61) > at org.mockito.internal.creation.bytebuddy.MockMethodInterceptor.doIntercept(MockMethodInterceptor.java:49) > at org.mockito.internal.creation.bytebuddy.MockMethodInterceptor$DispatcherDefaultingToRealMethod.interceptAbstract(MockMethodInterceptor.java:126) > at org.mockitousage.IMethods$MockitoMock$1744013724.varargs(Unknown Source) > at org.mockitousage.matchers.VarargsTest.shouldMatchVarArgs_twoArgsOneAnyMatcher(VarargsTest.java:132) >9) should_mention_matcher_when_misuse_detected(org.mockitousage.matchers.InvalidUseOfMatchersTest) >java.lang.AssertionError: >Expecting message: > <null> >but was: > <"Cannot invoke "java.lang.Integer.intValue()" because the return value of "org.mockito.ArgumentMatchers.any()" is null"> > at org.mockitousage.matchers.InvalidUseOfMatchersTest.should_mention_matcher_when_misuse_detected(InvalidUseOfMatchersTest.java:114) >10) should_mention_matcher_when_misuse_detected(org.mockitousage.matchers.InvalidUseOfMatchersTest) >org.mockito.exceptions.misusing.UnfinishedStubbingException: >Unfinished stubbing detected here: >-> at org.mockitousage.matchers.InvalidUseOfMatchersTest$ObjectMatcherMisuseOnPrimitiveSite.fails_with_NPE(InvalidUseOfMatchersTest.java:126) > >E.g. thenReturn() may be missing. >Examples of correct stubbing: > when(mock.isOk()).thenReturn(true); > when(mock.isOk()).thenThrow(exception); > doThrow(exception).when(mock).someVoidMethod(); >Hints: > 1. missing thenReturn() > 2. you are trying to stub a final method, which is not supported > 3: you are stubbing the behaviour of another mock inside before 'thenReturn' instruction is completed > > at org.mockito.internal.exceptions.Reporter.unfinishedStubbing(Reporter.java:74) > at org.mockito.internal.progress.MockingProgressImpl.validateState(MockingProgressImpl.java:112) > at org.mockito.internal.MockitoCore.validateMockitoUsage(MockitoCore.java:184) > at org.mockito.Mockito.validateMockitoUsage(Mockito.java:2936) > at org.mockito.internal.runners.DefaultInternalRunner$1$2.testFinished(DefaultInternalRunner.java:65) > at org.junit.runner.notification.SynchronizedRunListener.testFinished(SynchronizedRunListener.java:87) > at org.junit.runner.notification.RunNotifier$9.notifyListener(RunNotifier.java:225) > at org.junit.runner.notification.RunNotifier$SafeNotifier.run(RunNotifier.java:72) > at org.junit.runner.notification.RunNotifier.fireTestFinished(RunNotifier.java:227) > at org.junit.internal.runners.model.EachTestNotifier.fireTestFinished(EachTestNotifier.java:38) > at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:372) > at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:103) > at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:63) > at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331) > at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79) > at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329) > at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66) > at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293) > at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) > at org.junit.runners.ParentRunner.run(ParentRunner.java:413) > 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$4.run(ParentRunner.java:331) > at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79) > at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329) > at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66) > at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293) > at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) > at org.junit.runners.ParentRunner.run(ParentRunner.java:413) > at org.junit.runner.JUnitCore.run(JUnitCore.java:137) > at org.junit.runner.JUnitCore.run(JUnitCore.java:115) > at org.junit.runner.JUnitCore.runMain(JUnitCore.java:77) > at org.junit.runner.JUnitCore.main(JUnitCore.java:36) >11) should_not_throw_class_cast_exception(org.mockitousage.bugs.GenericsMockitoAnnotationsTest) >java.lang.ClassCastException: class java.util.LinkedList cannot be cast to class java.util.ArrayList (java.util.LinkedList and java.util.ArrayList are in module java.base of loader 'bootstrap') > at org.mockitousage.bugs.GenericsMockitoAnnotationsTest.should_not_throw_class_cast_exception(GenericsMockitoAnnotationsTest.java:27) >12) should_return_mock_value_for_generic_class(org.mockito.internal.stubbing.defaultanswers.ReturnsMocksTest) >java.lang.ClassCastException: class org.mockito.codegen.Object$MockitoMock$1244826823 cannot be cast to class java.lang.String (org.mockito.codegen.Object$MockitoMock$1244826823 is in unnamed module of loader 'app'; java.lang.String is in module java.base of loader 'bootstrap') > at org.mockito.internal.stubbing.defaultanswers.ReturnsMocksTest.should_return_mock_value_for_generic_class(ReturnsMocksTest.java:53) >13) instantiate_fine_when_objenesis_on_the_classpath(org.mockito.internal.creation.bytebuddy.SubclassByteBuddyMockMakerTest) >java.lang.NoClassDefFoundError: org/objectweb/asm/ClassWriter > at net.bytebuddy.utility.dispatcher.JavaDispatcher$DynamicClassLoader.invoker(JavaDispatcher.java:1313) > at net.bytebuddy.utility.dispatcher.JavaDispatcher$InvokerCreationAction.run(JavaDispatcher.java:459) > at net.bytebuddy.utility.dispatcher.JavaDispatcher$InvokerCreationAction.run(JavaDispatcher.java:452) > at net.bytebuddy.utility.dispatcher.JavaDispatcher.doPrivileged(JavaDispatcher.java:128) > at net.bytebuddy.utility.dispatcher.JavaDispatcher.<clinit>(JavaDispatcher.java:87) > at net.bytebuddy.utility.JavaModule.<clinit>(JavaModule.java:47) > at net.bytebuddy.dynamic.loading.ClassInjector$UsingReflection$Dispatcher$CreationAction.run(ClassInjector.java:522) > at net.bytebuddy.dynamic.loading.ClassInjector$UsingReflection$Dispatcher$CreationAction.run(ClassInjector.java:509) > at net.bytebuddy.dynamic.loading.ClassInjector$UsingReflection.doPrivileged(ClassInjector.java:226) > at net.bytebuddy.dynamic.loading.ClassInjector$UsingReflection.<clinit>(ClassInjector.java:136) > at org.mockito.internal.creation.bytebuddy.SubclassInjectionLoader.<init>(SubclassInjectionLoader.java:28) > at org.mockito.internal.creation.bytebuddy.SubclassByteBuddyMockMaker.<init>(SubclassByteBuddyMockMaker.java:33) > at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) > at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:77) > at java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) > at java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:499) > at java.base/java.lang.reflect.ReflectAccess.newInstance(ReflectAccess.java:128) > at java.base/jdk.internal.reflect.ReflectionFactory.newInstance(ReflectionFactory.java:347) > at java.base/java.lang.Class.newInstance(Class.java:645) > at org.mockito.internal.creation.bytebuddy.AbstractByteBuddyMockMakerTest.instantiate_fine_when_objenesis_on_the_classpath(AbstractByteBuddyMockMakerTest.java:152) > ... 32 trimmed >Caused by: java.lang.ClassNotFoundException: org.objectweb.asm.ClassWriter > at java.base/java.net.URLClassLoader.findClass(URLClassLoader.java:445) > at org.mockitoutil.ClassLoaders$LocalExcludingURLClassLoader.findClass(ClassLoaders.java:316) > at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:587) > at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:520) > ... 53 more >14) instantiate_fine_when_objenesis_on_the_classpath(org.mockito.internal.creation.bytebuddy.InlineByteBuddyMockMakerTest) >java.lang.NoClassDefFoundError: org/objectweb/asm/ClassWriter > at net.bytebuddy.utility.dispatcher.JavaDispatcher$DynamicClassLoader.invoker(JavaDispatcher.java:1313) > at net.bytebuddy.utility.dispatcher.JavaDispatcher$InvokerCreationAction.run(JavaDispatcher.java:459) > at net.bytebuddy.utility.dispatcher.JavaDispatcher$InvokerCreationAction.run(JavaDispatcher.java:452) > at net.bytebuddy.utility.dispatcher.JavaDispatcher.doPrivileged(JavaDispatcher.java:128) > at net.bytebuddy.utility.dispatcher.JavaDispatcher.<clinit>(JavaDispatcher.java:87) > at net.bytebuddy.utility.JavaModule.<clinit>(JavaModule.java:47) > at net.bytebuddy.dynamic.loading.ClassInjector$UsingReflection$Dispatcher$CreationAction.run(ClassInjector.java:522) > at net.bytebuddy.dynamic.loading.ClassInjector$UsingReflection$Dispatcher$CreationAction.run(ClassInjector.java:509) > at net.bytebuddy.dynamic.loading.ClassInjector$UsingReflection.doPrivileged(ClassInjector.java:226) > at net.bytebuddy.dynamic.loading.ClassInjector$UsingReflection.<clinit>(ClassInjector.java:136) > at org.mockito.internal.creation.bytebuddy.SubclassInjectionLoader.<init>(SubclassInjectionLoader.java:28) > at org.mockito.internal.creation.bytebuddy.SubclassByteBuddyMockMaker.<init>(SubclassByteBuddyMockMaker.java:33) > at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) > at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:77) > at java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) > at java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:499) > at java.base/java.lang.reflect.ReflectAccess.newInstance(ReflectAccess.java:128) > at java.base/jdk.internal.reflect.ReflectionFactory.newInstance(ReflectionFactory.java:347) > at java.base/java.lang.Class.newInstance(Class.java:645) > at org.mockito.internal.creation.bytebuddy.AbstractByteBuddyMockMakerTest.instantiate_fine_when_objenesis_on_the_classpath(AbstractByteBuddyMockMakerTest.java:152) > ... 32 trimmed >Caused by: java.lang.ClassNotFoundException: org.objectweb.asm.ClassWriter > at java.base/java.net.URLClassLoader.findClass(URLClassLoader.java:445) > at org.mockitoutil.ClassLoaders$LocalExcludingURLClassLoader.findClass(ClassLoaders.java:316) > at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:587) > at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:520) > ... 53 more >15) shouldRunInMultipleThreads(org.concurrentmockito.ThreadsRunAllTestsHalfManualTest) >java.lang.AssertionError: Run in multiple thread failed for tests expected:<[]> but was:<[class org.mockitousage.matchers.InvalidUseOfMatchersTest]> > at org.junit.Assert.fail(Assert.java:89) > at org.junit.Assert.failNotEquals(Assert.java:835) > at org.junit.Assert.assertEquals(Assert.java:120) > at org.concurrentmockito.ThreadsRunAllTestsHalfManualTest.shouldRunInMultipleThreads(ThreadsRunAllTestsHalfManualTest.java:148) > >FAILURES!!! >Tests run: 1952, Failures: 15 > > [31;01m*[0m ERROR: dev-java/mockito-2.28.2::gentoo failed (test phase): > [31;01m*[0m Running junit failed > [31;01m*[0m > [31;01m*[0m Call stack: > [31;01m*[0m ebuild.sh, line 136: Called src_test > [31;01m*[0m environment, line 2417: Called java-pkg-simple_src_test > [31;01m*[0m environment, line 1002: Called ejunit4 '-classpath' 'target/test-classes:mockito.jar:/usr/share/junit-4/lib/junit.jar:/usr/share/hamcrest-core-1.3/lib/hamcrest-core.jar:/usr/share/opentest4j/lib/opentest4j.jar:/usr/share/assertj-core-3/lib/assertj-core.jar:/usr/share/junit-4/lib/junit.jar:/usr/share/hamcrest-core-1.3/lib/hamcrest-core.jar:/usr/share/byte-buddy/lib/byte-buddy-agent.jar:/usr/share/byte-buddy/lib/byte-buddy.jar:/usr/share/asm-9/lib/asm.jar:/usr/share/asm-9/lib/asm-tree.jar:/usr/share/asm-9/lib/asm-analysis.jar:/usr/share/asm-9/lib/asm-commons.jar:/usr/share/asm-9/lib/asm-util.jar:/usr/share/byte-buddy/lib/byte-buddy-agent.jar:/usr/share/byte-buddy/lib/byte-buddy.jar:/usr/share/objenesis/lib/objenesis.jar' 'org.mockitoutil.async.AsyncTestingTest' 'org.mockitoutil.SafeJUnitRuleTest' 'org.mockitoutil.ClassLoadersTest' 'org.mockitousage.verification.VerifyPrintsAllInvocationsOnErrorTest' 'org.mockitousage.verification.VerificationWithTimeoutTest' 'org.mockitousage.verification.VerificationWithAfterTest' 'org.mockitousage.verification.VerificationWithAfterAndCaptorTest' 'org.mockitousage.verification.VerificationUsingMatchersTest' 'org.mockitousage.verification.VerificationStartedListenerTest' 'org.mockitousage.verification.VerificationOnMultipleMocksUsingMatchersTest' 'org.mockitousage.verification.VerificationInOrderWithTimeoutTest' 'org.mockitousage.verification.VerificationInOrderWithCallsTest' 'org.mockitousage.verification.VerificationInOrderTest' 'org.mockitousage.verification.VerificationInOrderMixedWithOrdiraryVerificationTest' 'org.mockitousage.verification.VerificationExcludingStubsTest' 'org.mockitousage.verification.SelectedMocksInOrderVerificationTest' 'org.mockitousage.verification.RelaxedVerificationInOrderTest' 'org.mockitousage.verification.PrintingVerboseTypesWithArgumentsTest' 'org.mockitousage.verification.OrdinaryVerificationPrintsAllInteractionsTest' 'org.mockitousage.verification.OnlyVerificationTest' 'org.mockitousage.verification.NoMoreInteractionsVerificationTest' 'org.mockitousage.verification.FindingRedundantInvocationsInOrderTest' 'org.mockitousage.verification.ExactNumberOfTimesVerificationTest' 'org.mockitousage.verification.DescriptiveMessagesWhenVerificationFailsTest' 'org.mockitousage.verification.DescriptiveMessagesWhenTimesXVerificationFailsTest' 'org.mockitousage.verification.DescriptiveMessagesOnVerificationInOrderErrorsTest' 'org.mockitousage.verification.CustomVerificationTest' 'org.mockitousage.verification.BasicVerificationTest' 'org.mockitousage.verification.BasicVerificationInOrderTest' 'org.mockitousage.verification.AtMostXVerificationTest' 'org.mockitousage.verification.AtLeastXVerificationTest' 'org.mockitousage.stubbing.StubbingWithThrowablesTest' 'org.mockitousage.stubbing.StubbingWithExtraAnswersTest' 'org.mockitousage.stubbing.StubbingWithDelegateVarArgsTest' 'org.mockitousage.stubbing.StubbingWithDelegateTest' 'org.mockitousage.stubbing.StubbingWithCustomAnswerTest' 'org.mockitousage.stubbing.StubbingWithBadThrowablesTest' 'org.mockitousage.stubbing.StubbingWithAdditionalAnswersTest' 'org.mockitousage.stubbing.StubbingWarningsTest' 'org.mockitousage.stubbing.StubbingUsingDoReturnTest' 'org.mockitousage.stubbing.StubbingReturnsSelfTest' 'org.mockitousage.stubbing.StubbingConsecutiveAnswersTest' 'org.mockitousage.stubbing.StrictStubbingTest' 'org.mockitousage.stubbing.StrictStubbingEndToEndTest' 'org.mockitousage.stubbing.SmartNullsStubbingTest' 'org.mockitousage.stubbing.SmartNullsGenericBugTest' 'org.mockitousage.stubbing.ReturningDefaultValuesTest' 'org.mockitousage.stubbing.DeepStubbingTest' 'org.mockitousage.stubbing.CloningParameterTest' 'org.mockitousage.stubbing.CallingRealMethodTest' 'org.mockitousage.stubbing.BasicStubbingTest' 'org.mockitousage.strictness.StrictnessWithRulesTest' 'org.mockitousage.strictness.StrictnessWhenRuleStrictnessIsUpdatedTest' 'org.mockitousage.strictness.StrictnessPerStubbingWithRunnerTest' 'org.mockitousage.strictness.StrictnessPerStubbingTest' 'org.mockitousage.strictness.StrictnessPerMockTest' 'org.mockitousage.strictness.PotentialStubbingSensitivityTest' 'org.mockitousage.strictness.LenientMockAnnotationTest' 'org.mockitousage.stacktrace.StackTraceFilteringTest' 'org.mockitousage.stacktrace.PointingStackTraceToActualInvocationTest' 'org.mockitousage.stacktrace.PointingStackTraceToActualInvocationInOrderTest' 'org.mockitousage.stacktrace.PointingStackTraceToActualInvocationChunkInOrderTest' 'org.mockitousage.stacktrace.ModellingDescriptiveMessagesTest' 'org.mockitousage.stacktrace.ClickableStackTracesWhenFrameworkMisusedTest' 'org.mockitousage.stacktrace.ClickableStackTracesTest' 'org.mockitousage.spies.StubbingSpiesDoesNotYieldNPETest' 'org.mockitousage.spies.SpyingOnRealObjectsTest' 'org.mockitousage.spies.SpyingOnInterfacesTest' 'org.mockitousage.spies.PartialMockingWithSpiesTest' 'org.mockitousage.session.MockitoSessionTest' 'org.mockitousage.serialization.StrictStubsSerializableTest' 'org.mockitousage.serialization.ParallelSerializationTest' 'org.mockitousage.serialization.DeepStubsSerializableTest' 'org.mockitousage.serialization.AcrossClassLoaderSerializationTest' 'org.mockitousage.puzzlers.OverloadingPuzzleTest' 'org.mockitousage.puzzlers.BridgeMethodPuzzleTest' 'org.mockitousage.plugins.MockitoPluginsTest' 'org.mockitousage.performance.StubOnlyAvoidMemoryConsumptionTest' 'org.mockitousage.performance.LoadsOfMocksTest' 'org.mockitousage.packageprotected.MockingPackageProtectedTest' 'org.mockitousage.misuse.SpyStubbingMisuseTest' 'org.mockitousage.misuse.RestrictedObjectMethodsTest' 'org.mockitousage.misuse.InvalidUsageTest' 'org.mockitousage.misuse.ExplicitFrameworkValidationTest' 'org.mockitousage.misuse.DetectingMisusedMatchersTest' 'org.mockitousage.misuse.DetectingFinalMethodsTest' 'org.mockitousage.misuse.DescriptiveMessagesOnMisuseTest' 'org.mockitousage.misuse.CleaningUpPotentialStubbingTest' 'org.mockitousage.matchers.VerificationAndStubbingUsingMatchersTest' 'org.mockitousage.matchers.VarargsTest' 'org.mockitousage.matchers.ReflectionMatchersTest' 'org.mockitousage.matchers.NewMatchersTest' 'org.mockitousage.matchers.MoreMatchersTest' 'org.mockitousage.matchers.MatchersTest' 'org.mockitousage.matchers.MatchersMixedWithRawArgumentsTest' 'org.mockitousage.matchers.InvalidUseOfMatchersTest' 'org.mockitousage.matchers.HamcrestMatchersTest' 'org.mockitousage.matchers.GenericMatchersTest' 'org.mockitousage.matchers.CustomMatchersTest' 'org.mockitousage.matchers.CustomMatcherDoesYieldCCETest' 'org.mockitousage.matchers.CapturingArgumentsTest' 'org.mockitousage.matchers.AnyXMatchersAcceptNullsTest' 'org.mockitousage.junitrunner.VerboseMockitoRunnerTest' 'org.mockitousage.junitrunner.UnusedStubsExceptionMessageTest' 'org.mockitousage.junitrunner.StubbingWarningsJUnitRunnerTest' 'org.mockitousage.junitrunner.StrictStubsRunnerTest' 'org.mockitousage.junitrunner.StrictRunnerTest' 'org.mockitousage.junitrunner.SilentRunnerTest' 'org.mockitousage.junitrunner.ModellingVerboseMockitoTest' 'org.mockitousage.junitrunner.JUnit45RunnerTest' 'org.mockitousage.junitrunner.DeepStubbingWithJUnitRunnerTest' 'org.mockitousage.junitrule.VerificationCollectorImplTest' 'org.mockitousage.junitrule.StubbingWarningsMultiThreadingTest' 'org.mockitousage.junitrule.StubbingWarningsJUnitRuleTest' 'org.mockitousage.junitrule.StrictJUnitRuleTest' 'org.mockitousage.junitrule.RuleTestWithParameterConstructorTest' 'org.mockitousage.junitrule.RuleTestWithFactoryMethodTest' 'org.mockitousage.junitrule.MutableStrictJUnitRuleTest' 'org.mockitousage.junitrule.MockitoJUnitRuleTest' 'org.mockitousage.junitrule.LenientJUnitRuleTest' 'org.mockitousage.junitrule.InvalidTargetMockitoJUnitRuleTest' 'org.mockitousage.jls.JLS_15_12_2_5Test' 'org.mockitousage.internal.junit.UnusedStubbingsFinderTest' 'org.mockitousage.internal.debugging.LocationImplTest' 'org.mockitousage.examples.use.ExampleTest' 'org.mockitousage.debugging.VerificationListenerCallBackTest' 'org.mockitousage.debugging.VerboseLoggingOfInvocationsOnMockTest' 'org.mockitousage.debugging.StubbingLookupListenerCallbackTest' 'org.mockitousage.debugging.InvocationsPrinterTest' 'org.mockitousage.debugging.InvocationListenerCallbackTest' 'org.mockitousage.customization.BDDMockitoTest' 'org.mockitousage.constructor.CreatingMocksWithConstructorTest' 'org.mockitousage.configuration.CustomizedAnnotationForSmartMockTest' 'org.mockitousage.configuration.ClassCacheVersusClassReloadingTest' 'org.mockitousage.bugs.varargs.VarargsNotPlayingWithAnyObjectTest' 'org.mockitousage.bugs.varargs.VarargsErrorWhenCallingRealMethodTest' 'org.mockitousage.bugs.varargs.VarargsAndAnyObjectPicksUpExtraInvocationsTest' 'org.mockitousage.bugs.injection.ShouldNotTryToInjectInFinalOrStaticFieldsTest' 'org.mockitousage.bugs.injection.ParentTestMockInjectionTest' 'org.mockitousage.bugs.injection.Issue353InjectionMightNotHappenInCertainConfigurationTest' 'org.mockitousage.bugs.injection.InjectionByTypeShouldFirstLookForExactTypeThenAncestorTest' 'org.mockitousage.bugs.injection.InjectMocksShouldTryPropertySettersFirstBeforeFieldAccessTest' 'org.mockitousage.bugs.injection.ChildWithSameParentFieldInjectionTest' 'org.mockitousage.bugs.deepstubs.DeepStubsWronglyReportsSerializationProblemsTest' 'org.mockitousage.bugs.deepstubs.DeepStubFailingWhenGenericNestedAsRawTypeTest' 'org.mockitousage.bugs.creation.ShouldAllowInlineMockCreationTest' 'org.mockitousage.bugs.creation.PublicMethodInParentWithNonPublicTypeInSignatureTest' 'org.mockitousage.bugs.creation.ConstructorInvokingMethodShouldNotRaiseExceptionTest' 'org.mockitousage.bugs.VerifyingWithAnExtraCallToADifferentMockTest' 'org.mockitousage.bugs.StubbingMocksThatAreConfiguredToReturnMocksTest' 'org.mockitousage.bugs.SpyShouldHaveNiceNameTest' 'org.mockitousage.bugs.ShouldOnlyModeAllowCapturingArgumentsTest' 'org.mockitousage.bugs.ShouldNotDeadlockAnswerExecutionTest' 'org.mockitousage.bugs.ShouldMocksCompareToBeConsistentWithEqualsTest' 'org.mockitousage.bugs.NPEWithCertainMatchersTest' 'org.mockitousage.bugs.NPEWhenMockingThrowablesTest' 'org.mockitousage.bugs.NPEOnAnyClassMatcherAutounboxTest' 'org.mockitousage.bugs.MultithreadedStubbingHalfManualTest' 'org.mockitousage.bugs.MultipleInOrdersTest' 'org.mockitousage.bugs.MockitoStubbedCallInAnswerTest' 'org.mockitousage.bugs.MockitoRunnerBreaksWhenNoTestMethodsTest' 'org.mockitousage.bugs.ListenersLostOnResetMockTest' 'org.mockitousage.bugs.InheritedGenericsPolimorphicCallTest' 'org.mockitousage.bugs.IOOBExceptionShouldNotBeThrownWhenNotCodingFluentlyTest' 'org.mockitousage.bugs.GenericsMockitoAnnotationsTest' 'org.mockitousage.bugs.FinalHashCodeAndEqualsRaiseNPEInInitMocksTest' 'org.mockitousage.bugs.FillInStackTraceScenariosTest' 'org.mockitousage.bugs.EqualsWithDeltaTest' 'org.mockitousage.bugs.EnabledMockingInterfaceCloneMethodTest' 'org.mockitousage.bugs.DiamondInheritanceIsConfusingMockitoTest' 'org.mockitousage.bugs.CovariantOverrideTest' 'org.mockitousage.bugs.ConfusedSignatureTest' 'org.mockitousage.bugs.ConcurrentModificationExceptionOnMultiThreadedVerificationTest' 'org.mockitousage.bugs.CompareMatcherTest' 'org.mockitousage.bugs.ClassCastExOnVerifyZeroInteractionsTest' 'org.mockitousage.bugs.CaptorAnnotationAutoboxingTest' 'org.mockitousage.bugs.BridgeMethodsHitAgainTest' 'org.mockitousage.bugs.ArgumentCaptorDontCapturePreviouslyVerifiedTest' 'org.mockitousage.bugs.ActualInvocationHasNullArgumentNPEBugTest' 'org.mockitousage.bugs.AIOOBExceptionWithAtLeastTest' 'org.mockitousage.basicapi.UsingVarargsTest' 'org.mockitousage.basicapi.ResetTest' 'org.mockitousage.basicapi.ResetInvocationsTest' 'org.mockitousage.basicapi.ReplacingObjectMethodsTest' 'org.mockitousage.basicapi.ObjectsSerializationTest' 'org.mockitousage.basicapi.MocksSerializationTest' 'org.mockitousage.basicapi.MocksSerializationForAnnotationTest' 'org.mockitousage.basicapi.MocksCreationTest' 'org.mockitousage.basicapi.MockingMultipleInterfacesTest' 'org.mockitousage.basicapi.MockAccessTest' 'org.mockitousage.annotation.WrongSetOfAnnotationsTest' 'org.mockitousage.annotation.SpyInjectionTest' 'org.mockitousage.annotation.SpyAnnotationTest' 'org.mockitousage.annotation.SpyAnnotationInitializedInBaseClassTest' 'org.mockitousage.annotation.MockInjectionUsingSetterOrPropertyTest' 'org.mockitousage.annotation.MockInjectionUsingConstructorTest' 'org.mockitousage.annotation.MockInjectionUsingConstructorIssue421Test' 'org.mockitousage.annotation.InjectionOfInlinedMockDeclarationTest' 'org.mockitousage.annotation.DeprecatedAnnotationEngineApiTest' 'org.mockitousage.annotation.CaptorAnnotationUnhappyPathTest' 'org.mockitousage.annotation.CaptorAnnotationTest' 'org.mockitousage.annotation.CaptorAnnotationBasicTest' 'org.mockitousage.annotation.AnnotationsTest' 'org.mockitousage.PlaygroundWithDemoOfUnclonedParametersProblemTest' 'org.mockitousage.PlaygroundTest' 'org.mockitousage.CompilationWarningsTest' 'org.mockitointegration.NoJUnitDependenciesTest' 'org.mockitointegration.NoByteCodeDependenciesTest' 'org.mockito.verification.TimeoutTest' 'org.mockito.verification.NegativeDurationTest' 'org.mockito.runners.ConsoleSpammingMockitoJUnitRunnerTest' 'org.mockito.internal.verification.checkers.NumberOfInvocationsInOrderCheckerTest' 'org.mockito.internal.verification.checkers.NumberOfInvocationsCheckerTest' 'org.mockito.internal.verification.checkers.MissingInvocationInOrderCheckerTest' 'org.mockito.internal.verification.checkers.MissingInvocationCheckerTest' 'org.mockito.internal.verification.checkers.AtLeastXNumberOfInvocationsCheckerTest' 'org.mockito.internal.verification.argumentmatching.ArgumentMatchingToolTest' 'org.mockito.internal.verification.VerificationWithDescriptionTest' 'org.mockito.internal.verification.VerificationOverTimeImplTest' 'org.mockito.internal.verification.VerificationDataImplTest' 'org.mockito.internal.verification.SmartPrinterTest' 'org.mockito.internal.verification.OnlyTest' 'org.mockito.internal.verification.NoMoreInteractionsTest' 'org.mockito.internal.verification.DescriptionTest' 'org.mockito.internal.verification.DefaultRegisteredInvocationsTest' 'org.mockito.internal.util.reflection.SuperTypesLastSorterTest' 'org.mockito.internal.util.reflection.ParameterizedConstructorInstantiatorTest' 'org.mockito.internal.util.reflection.LenientCopyToolTest' 'org.mockito.internal.util.reflection.GenericTypeExtractorTest' 'org.mockito.internal.util.reflection.GenericMetadataSupportTest' 'org.mockito.internal.util.reflection.GenericMasterTest' 'org.mockito.internal.util.reflection.GenericArrayReturnTypeTest' 'org.mockito.internal.util.reflection.FieldsTest' 'org.mockito.internal.util.reflection.FieldReaderTest' 'org.mockito.internal.util.reflection.FieldInitializerTest' 'org.mockito.internal.util.reflection.BeanPropertySetterTest' 'org.mockito.internal.util.reflection.AccessibilityChangerTest' 'org.mockito.internal.util.io.IOUtilTest' 'org.mockito.internal.util.collections.ListUtilTest' 'org.mockito.internal.util.collections.IdentitySetTest' 'org.mockito.internal.util.collections.HashCodeAndEqualsSafeSetTest' 'org.mockito.internal.util.TimerTest' 'org.mockito.internal.util.StringUtilTest' 'org.mockito.internal.util.SimpleMockitoLoggerTest' 'org.mockito.internal.util.PrimitivesTest' 'org.mockito.internal.util.PlatformTest' 'org.mockito.internal.util.ObjectMethodsGuruTest' 'org.mockito.internal.util.MockUtilTest' 'org.mockito.internal.util.MockSettingsTest' 'org.mockito.internal.util.MockNameImplTest' 'org.mockito.internal.util.MockCreationValidatorTest' 'org.mockito.internal.util.DefaultMockingDetailsTest' 'org.mockito.internal.util.ChecksTest' 'org.mockito.internal.stubbing.defaultanswers.ReturnsSmartNullsTest' 'org.mockito.internal.stubbing.defaultanswers.ReturnsMoreEmptyValuesTest' 'org.mockito.internal.stubbing.defaultanswers.ReturnsMocksTest' 'org.mockito.internal.stubbing.defaultanswers.ReturnsGenericDeepStubsTest' 'org.mockito.internal.stubbing.defaultanswers.ReturnsEmptyValuesTest' 'org.mockito.internal.stubbing.defaultanswers.ForwardsInvocationsTest' 'org.mockito.internal.stubbing.answers.ThrowsExceptionTest' 'org.mockito.internal.stubbing.answers.ReturnsTest' 'org.mockito.internal.stubbing.answers.ReturnsArgumentAtTest' 'org.mockito.internal.stubbing.answers.InvocationInfoTest' 'org.mockito.internal.stubbing.answers.DoesNothingTest' 'org.mockito.internal.stubbing.answers.DefaultAnswerValidatorTest' 'org.mockito.internal.stubbing.answers.CallsRealMethodsTest' 'org.mockito.internal.stubbing.answers.AnswersWithDelayTest' 'org.mockito.internal.stubbing.InvocationContainerImplTest' 'org.mockito.internal.stubbing.InvocationContainerImplStubbingTest' 'org.mockito.internal.session.DefaultMockitoSessionBuilderTest' 'org.mockito.internal.runners.util.TestMethodsFinderTest' 'org.mockito.internal.runners.util.RunnerProviderTest' 'org.mockito.internal.runners.DefaultInternalRunnerTest' 'org.mockito.internal.reporting.PluralizerTest' 'org.mockito.internal.progress.TimesTest' 'org.mockito.internal.progress.ThreadSafeMockingProgressTest' 'org.mockito.internal.progress.MockingProgressImplTest' 'org.mockito.internal.progress.AtLeastTest' 'org.mockito.internal.matchers.text.ValuePrinterTest' 'org.mockito.internal.matchers.text.MatcherToStringTest' 'org.mockito.internal.matchers.apachecommons.EqualsBuilderTest' 'org.mockito.internal.matchers.StringMatchersTest' 'org.mockito.internal.matchers.MatchersToStringTest' 'org.mockito.internal.matchers.MatchersPrinterTest' 'org.mockito.internal.matchers.InstanceOfTest' 'org.mockito.internal.matchers.EqualsTest' 'org.mockito.internal.matchers.EqualityTest' 'org.mockito.internal.matchers.ComparableMatchersTest' 'org.mockito.internal.matchers.CapturingMatcherTest' 'org.mockito.internal.listeners.VerificationStartedNotifierTest' 'org.mockito.internal.listeners.StubbingLookupNotifierTest' 'org.mockito.internal.junit.util.JUnitFailureHackerTest' 'org.mockito.internal.junit.UnusedStubbingsTest' 'org.mockito.internal.junit.StubbingArgMismatchesTest' 'org.mockito.internal.junit.ExceptionFactoryTest' 'org.mockito.internal.junit.ArgMismatchFinderTest' 'org.mockito.internal.invocation.mockref.MockWeakReferenceTest' 'org.mockito.internal.invocation.TypeSafeMatchingTest' 'org.mockito.internal.invocation.SerializableMethodTest' 'org.mockito.internal.invocation.MatcherApplicationStrategyTest' 'org.mockito.internal.invocation.InvocationsFinderTest' 'org.mockito.internal.invocation.InvocationMatcherTest' 'org.mockito.internal.invocation.InvocationMarkerTest' 'org.mockito.internal.handler.MockHandlerImplTest' 'org.mockito.internal.handler.MockHandlerFactoryTest' 'org.mockito.internal.handler.InvocationNotifierHandlerTest' 'org.mockito.internal.hamcrest.MatcherGenericTypeExtractorTest' 'org.mockito.internal.framework.DefaultMockitoFrameworkTest' 'org.mockito.internal.exceptions.util.ScenarioPrinterTest' 'org.mockito.internal.exceptions.stacktrace.StackTraceFilterTest' 'org.mockito.internal.exceptions.stacktrace.ConditionalStackTraceFilterTest' 'org.mockito.internal.exceptions.ReporterTest' 'org.mockito.internal.debugging.WarningsFinderTest' 'org.mockito.internal.debugging.VerboseMockInvocationLoggerTest' 'org.mockito.internal.debugging.LoggingListenerTest' 'org.mockito.internal.creation.instance.ConstructorInstantiatorTest' 'org.mockito.internal.creation.bytebuddy.TypeCachingMockBytecodeGeneratorTest' 'org.mockito.internal.creation.bytebuddy.SubclassByteBuddyMockMakerTest' 'org.mockito.internal.creation.bytebuddy.InlineByteBuddyMockMakerTest' 'org.mockito.internal.creation.bytebuddy.ByteBuddyMockMakerTest' 'org.mockito.internal.creation.MockSettingsImplTest' 'org.mockito.internal.creation.InterfaceOverrideTest' 'org.mockito.internal.creation.DelegatingMethodTest' 'org.mockito.internal.configuration.plugins.PluginLoaderTest' 'org.mockito.internal.configuration.plugins.PluginFinderTest' 'org.mockito.internal.configuration.plugins.PluginFileReaderTest' 'org.mockito.internal.configuration.plugins.DefaultMockitoPluginsTest' 'org.mockito.internal.configuration.injection.SimpleArgumentResolverTest' 'org.mockito.internal.configuration.injection.ConstructorInjectionTest' 'org.mockito.internal.configuration.MockInjectionTest' 'org.mockito.internal.configuration.GlobalConfigurationTest' 'org.mockito.internal.configuration.ClassPathLoaderTest' 'org.mockito.internal.InvalidStateDetectionTest' 'org.mockito.internal.InOrderImplTest' 'org.mockito.internal.AllInvocationsFinderTest' 'org.mockito.exceptions.stacktrace.StackTraceCleanerTest' 'org.mockito.exceptions.base.MockitoSerializationIssueTest' 'org.mockito.exceptions.base.MockitoExceptionTest' 'org.mockito.exceptions.base.MockitoAssertionErrorTest' 'org.mockito.StaticMockingExperimentTest' 'org.mockito.MockitoTest' 'org.mockito.InvocationFactoryTest' 'org.mockito.ArgumentCaptorTest' 'org.mockito.AnnotationsAreCopiedFromMockedTypeTest' 'org.concurrentmockito.VerificationInOrderFromMultipleThreadsTest' 'org.concurrentmockito.ThreadsShareGenerouslyStubbedMockTest' 'org.concurrentmockito.ThreadsShareAMockTest' 'org.concurrentmockito.ThreadsRunAllTestsHalfManualTest' 'org.concurrentmockito.ThreadVerifiesContinuouslyInteractingMockTest' > [31;01m*[0m environment, line 658: Called ejunit_ 'junit-4' '-classpath' 'target/test-classes:mockito.jar:/usr/share/junit-4/lib/junit.jar:/usr/share/hamcrest-core-1.3/lib/hamcrest-core.jar:/usr/share/opentest4j/lib/opentest4j.jar:/usr/share/assertj-core-3/lib/assertj-core.jar:/usr/share/junit-4/lib/junit.jar:/usr/share/hamcrest-core-1.3/lib/hamcrest-core.jar:/usr/share/byte-buddy/lib/byte-buddy-agent.jar:/usr/share/byte-buddy/lib/byte-buddy.jar:/usr/share/asm-9/lib/asm.jar:/usr/share/asm-9/lib/asm-tree.jar:/usr/share/asm-9/lib/asm-analysis.jar:/usr/share/asm-9/lib/asm-commons.jar:/usr/share/asm-9/lib/asm-util.jar:/usr/share/byte-buddy/lib/byte-buddy-agent.jar:/usr/share/byte-buddy/lib/byte-buddy.jar:/usr/share/objenesis/lib/objenesis.jar' 'org.mockitoutil.async.AsyncTestingTest' 'org.mockitoutil.SafeJUnitRuleTest' 'org.mockitoutil.ClassLoadersTest' 'org.mockitousage.verification.VerifyPrintsAllInvocationsOnErrorTest' 'org.mockitousage.verification.VerificationWithTimeoutTest' 'org.mockitousage.verification.VerificationWithAfterTest' 'org.mockitousage.verification.VerificationWithAfterAndCaptorTest' 'org.mockitousage.verification.VerificationUsingMatchersTest' 'org.mockitousage.verification.VerificationStartedListenerTest' 'org.mockitousage.verification.VerificationOnMultipleMocksUsingMatchersTest' 'org.mockitousage.verification.VerificationInOrderWithTimeoutTest' 'org.mockitousage.verification.VerificationInOrderWithCallsTest' 'org.mockitousage.verification.VerificationInOrderTest' 'org.mockitousage.verification.VerificationInOrderMixedWithOrdiraryVerificationTest' 'org.mockitousage.verification.VerificationExcludingStubsTest' 'org.mockitousage.verification.SelectedMocksInOrderVerificationTest' 'org.mockitousage.verification.RelaxedVerificationInOrderTest' 'org.mockitousage.verification.PrintingVerboseTypesWithArgumentsTest' 'org.mockitousage.verification.OrdinaryVerificationPrintsAllInteractionsTest' 'org.mockitousage.verification.OnlyVerificationTest' 'org.mockitousage.verification.NoMoreInteractionsVerificationTest' 'org.mockitousage.verification.FindingRedundantInvocationsInOrderTest' 'org.mockitousage.verification.ExactNumberOfTimesVerificationTest' 'org.mockitousage.verification.DescriptiveMessagesWhenVerificationFailsTest' 'org.mockitousage.verification.DescriptiveMessagesWhenTimesXVerificationFailsTest' 'org.mockitousage.verification.DescriptiveMessagesOnVerificationInOrderErrorsTest' 'org.mockitousage.verification.CustomVerificationTest' 'org.mockitousage.verification.BasicVerificationTest' 'org.mockitousage.verification.BasicVerificationInOrderTest' 'org.mockitousage.verification.AtMostXVerificationTest' 'org.mockitousage.verification.AtLeastXVerificationTest' 'org.mockitousage.stubbing.StubbingWithThrowablesTest' 'org.mockitousage.stubbing.StubbingWithExtraAnswersTest' 'org.mockitousage.stubbing.StubbingWithDelegateVarArgsTest' 'org.mockitousage.stubbing.StubbingWithDelegateTest' 'org.mockitousage.stubbing.StubbingWithCustomAnswerTest' 'org.mockitousage.stubbing.StubbingWithBadThrowablesTest' 'org.mockitousage.stubbing.StubbingWithAdditionalAnswersTest' 'org.mockitousage.stubbing.StubbingWarningsTest' 'org.mockitousage.stubbing.StubbingUsingDoReturnTest' 'org.mockitousage.stubbing.StubbingReturnsSelfTest' 'org.mockitousage.stubbing.StubbingConsecutiveAnswersTest' 'org.mockitousage.stubbing.StrictStubbingTest' 'org.mockitousage.stubbing.StrictStubbingEndToEndTest' 'org.mockitousage.stubbing.SmartNullsStubbingTest' 'org.mockitousage.stubbing.SmartNullsGenericBugTest' 'org.mockitousage.stubbing.ReturningDefaultValuesTest' 'org.mockitousage.stubbing.DeepStubbingTest' 'org.mockitousage.stubbing.CloningParameterTest' 'org.mockitousage.stubbing.CallingRealMethodTest' 'org.mockitousage.stubbing.BasicStubbingTest' 'org.mockitousage.strictness.StrictnessWithRulesTest' 'org.mockitousage.strictness.StrictnessWhenRuleStrictnessIsUpdatedTest' 'org.mockitousage.strictness.StrictnessPerStubbingWithRunnerTest' 'org.mockitousage.strictness.StrictnessPerStubbingTest' 'org.mockitousage.strictness.StrictnessPerMockTest' 'org.mockitousage.strictness.PotentialStubbingSensitivityTest' 'org.mockitousage.strictness.LenientMockAnnotationTest' 'org.mockitousage.stacktrace.StackTraceFilteringTest' 'org.mockitousage.stacktrace.PointingStackTraceToActualInvocationTest' 'org.mockitousage.stacktrace.PointingStackTraceToActualInvocationInOrderTest' 'org.mockitousage.stacktrace.PointingStackTraceToActualInvocationChunkInOrderTest' 'org.mockitousage.stacktrace.ModellingDescriptiveMessagesTest' 'org.mockitousage.stacktrace.ClickableStackTracesWhenFrameworkMisusedTest' 'org.mockitousage.stacktrace.ClickableStackTracesTest' 'org.mockitousage.spies.StubbingSpiesDoesNotYieldNPETest' 'org.mockitousage.spies.SpyingOnRealObjectsTest' 'org.mockitousage.spies.SpyingOnInterfacesTest' 'org.mockitousage.spies.PartialMockingWithSpiesTest' 'org.mockitousage.session.MockitoSessionTest' 'org.mockitousage.serialization.StrictStubsSerializableTest' 'org.mockitousage.serialization.ParallelSerializationTest' 'org.mockitousage.serialization.DeepStubsSerializableTest' 'org.mockitousage.serialization.AcrossClassLoaderSerializationTest' 'org.mockitousage.puzzlers.OverloadingPuzzleTest' 'org.mockitousage.puzzlers.BridgeMethodPuzzleTest' 'org.mockitousage.plugins.MockitoPluginsTest' 'org.mockitousage.performance.StubOnlyAvoidMemoryConsumptionTest' 'org.mockitousage.performance.LoadsOfMocksTest' 'org.mockitousage.packageprotected.MockingPackageProtectedTest' 'org.mockitousage.misuse.SpyStubbingMisuseTest' 'org.mockitousage.misuse.RestrictedObjectMethodsTest' 'org.mockitousage.misuse.InvalidUsageTest' 'org.mockitousage.misuse.ExplicitFrameworkValidationTest' 'org.mockitousage.misuse.DetectingMisusedMatchersTest' 'org.mockitousage.misuse.DetectingFinalMethodsTest' 'org.mockitousage.misuse.DescriptiveMessagesOnMisuseTest' 'org.mockitousage.misuse.CleaningUpPotentialStubbingTest' 'org.mockitousage.matchers.VerificationAndStubbingUsingMatchersTest' 'org.mockitousage.matchers.VarargsTest' 'org.mockitousage.matchers.ReflectionMatchersTest' 'org.mockitousage.matchers.NewMatchersTest' 'org.mockitousage.matchers.MoreMatchersTest' 'org.mockitousage.matchers.MatchersTest' 'org.mockitousage.matchers.MatchersMixedWithRawArgumentsTest' 'org.mockitousage.matchers.InvalidUseOfMatchersTest' 'org.mockitousage.matchers.HamcrestMatchersTest' 'org.mockitousage.matchers.GenericMatchersTest' 'org.mockitousage.matchers.CustomMatchersTest' 'org.mockitousage.matchers.CustomMatcherDoesYieldCCETest' 'org.mockitousage.matchers.CapturingArgumentsTest' 'org.mockitousage.matchers.AnyXMatchersAcceptNullsTest' 'org.mockitousage.junitrunner.VerboseMockitoRunnerTest' 'org.mockitousage.junitrunner.UnusedStubsExceptionMessageTest' 'org.mockitousage.junitrunner.StubbingWarningsJUnitRunnerTest' 'org.mockitousage.junitrunner.StrictStubsRunnerTest' 'org.mockitousage.junitrunner.StrictRunnerTest' 'org.mockitousage.junitrunner.SilentRunnerTest' 'org.mockitousage.junitrunner.ModellingVerboseMockitoTest' 'org.mockitousage.junitrunner.JUnit45RunnerTest' 'org.mockitousage.junitrunner.DeepStubbingWithJUnitRunnerTest' 'org.mockitousage.junitrule.VerificationCollectorImplTest' 'org.mockitousage.junitrule.StubbingWarningsMultiThreadingTest' 'org.mockitousage.junitrule.StubbingWarningsJUnitRuleTest' 'org.mockitousage.junitrule.StrictJUnitRuleTest' 'org.mockitousage.junitrule.RuleTestWithParameterConstructorTest' 'org.mockitousage.junitrule.RuleTestWithFactoryMethodTest' 'org.mockitousage.junitrule.MutableStrictJUnitRuleTest' 'org.mockitousage.junitrule.MockitoJUnitRuleTest' 'org.mockitousage.junitrule.LenientJUnitRuleTest' 'org.mockitousage.junitrule.InvalidTargetMockitoJUnitRuleTest' 'org.mockitousage.jls.JLS_15_12_2_5Test' 'org.mockitousage.internal.junit.UnusedStubbingsFinderTest' 'org.mockitousage.internal.debugging.LocationImplTest' 'org.mockitousage.examples.use.ExampleTest' 'org.mockitousage.debugging.VerificationListenerCallBackTest' 'org.mockitousage.debugging.VerboseLoggingOfInvocationsOnMockTest' 'org.mockitousage.debugging.StubbingLookupListenerCallbackTest' 'org.mockitousage.debugging.InvocationsPrinterTest' 'org.mockitousage.debugging.InvocationListenerCallbackTest' 'org.mockitousage.customization.BDDMockitoTest' 'org.mockitousage.constructor.CreatingMocksWithConstructorTest' 'org.mockitousage.configuration.CustomizedAnnotationForSmartMockTest' 'org.mockitousage.configuration.ClassCacheVersusClassReloadingTest' 'org.mockitousage.bugs.varargs.VarargsNotPlayingWithAnyObjectTest' 'org.mockitousage.bugs.varargs.VarargsErrorWhenCallingRealMethodTest' 'org.mockitousage.bugs.varargs.VarargsAndAnyObjectPicksUpExtraInvocationsTest' 'org.mockitousage.bugs.injection.ShouldNotTryToInjectInFinalOrStaticFieldsTest' 'org.mockitousage.bugs.injection.ParentTestMockInjectionTest' 'org.mockitousage.bugs.injection.Issue353InjectionMightNotHappenInCertainConfigurationTest' 'org.mockitousage.bugs.injection.InjectionByTypeShouldFirstLookForExactTypeThenAncestorTest' 'org.mockitousage.bugs.injection.InjectMocksShouldTryPropertySettersFirstBeforeFieldAccessTest' 'org.mockitousage.bugs.injection.ChildWithSameParentFieldInjectionTest' 'org.mockitousage.bugs.deepstubs.DeepStubsWronglyReportsSerializationProblemsTest' 'org.mockitousage.bugs.deepstubs.DeepStubFailingWhenGenericNestedAsRawTypeTest' 'org.mockitousage.bugs.creation.ShouldAllowInlineMockCreationTest' 'org.mockitousage.bugs.creation.PublicMethodInParentWithNonPublicTypeInSignatureTest' 'org.mockitousage.bugs.creation.ConstructorInvokingMethodShouldNotRaiseExceptionTest' 'org.mockitousage.bugs.VerifyingWithAnExtraCallToADifferentMockTest' 'org.mockitousage.bugs.StubbingMocksThatAreConfiguredToReturnMocksTest' 'org.mockitousage.bugs.SpyShouldHaveNiceNameTest' 'org.mockitousage.bugs.ShouldOnlyModeAllowCapturingArgumentsTest' 'org.mockitousage.bugs.ShouldNotDeadlockAnswerExecutionTest' 'org.mockitousage.bugs.ShouldMocksCompareToBeConsistentWithEqualsTest' 'org.mockitousage.bugs.NPEWithCertainMatchersTest' 'org.mockitousage.bugs.NPEWhenMockingThrowablesTest' 'org.mockitousage.bugs.NPEOnAnyClassMatcherAutounboxTest' 'org.mockitousage.bugs.MultithreadedStubbingHalfManualTest' 'org.mockitousage.bugs.MultipleInOrdersTest' 'org.mockitousage.bugs.MockitoStubbedCallInAnswerTest' 'org.mockitousage.bugs.MockitoRunnerBreaksWhenNoTestMethodsTest' 'org.mockitousage.bugs.ListenersLostOnResetMockTest' 'org.mockitousage.bugs.InheritedGenericsPolimorphicCallTest' 'org.mockitousage.bugs.IOOBExceptionShouldNotBeThrownWhenNotCodingFluentlyTest' 'org.mockitousage.bugs.GenericsMockitoAnnotationsTest' 'org.mockitousage.bugs.FinalHashCodeAndEqualsRaiseNPEInInitMocksTest' 'org.mockitousage.bugs.FillInStackTraceScenariosTest' 'org.mockitousage.bugs.EqualsWithDeltaTest' 'org.mockitousage.bugs.EnabledMockingInterfaceCloneMethodTest' 'org.mockitousage.bugs.DiamondInheritanceIsConfusingMockitoTest' 'org.mockitousage.bugs.CovariantOverrideTest' 'org.mockitousage.bugs.ConfusedSignatureTest' 'org.mockitousage.bugs.ConcurrentModificationExceptionOnMultiThreadedVerificationTest' 'org.mockitousage.bugs.CompareMatcherTest' 'org.mockitousage.bugs.ClassCastExOnVerifyZeroInteractionsTest' 'org.mockitousage.bugs.CaptorAnnotationAutoboxingTest' 'org.mockitousage.bugs.BridgeMethodsHitAgainTest' 'org.mockitousage.bugs.ArgumentCaptorDontCapturePreviouslyVerifiedTest' 'org.mockitousage.bugs.ActualInvocationHasNullArgumentNPEBugTest' 'org.mockitousage.bugs.AIOOBExceptionWithAtLeastTest' 'org.mockitousage.basicapi.UsingVarargsTest' 'org.mockitousage.basicapi.ResetTest' 'org.mockitousage.basicapi.ResetInvocationsTest' 'org.mockitousage.basicapi.ReplacingObjectMethodsTest' 'org.mockitousage.basicapi.ObjectsSerializationTest' 'org.mockitousage.basicapi.MocksSerializationTest' 'org.mockitousage.basicapi.MocksSerializationForAnnotationTest' 'org.mockitousage.basicapi.MocksCreationTest' 'org.mockitousage.basicapi.MockingMultipleInterfacesTest' 'org.mockitousage.basicapi.MockAccessTest' 'org.mockitousage.annotation.WrongSetOfAnnotationsTest' 'org.mockitousage.annotation.SpyInjectionTest' 'org.mockitousage.annotation.SpyAnnotationTest' 'org.mockitousage.annotation.SpyAnnotationInitializedInBaseClassTest' 'org.mockitousage.annotation.MockInjectionUsingSetterOrPropertyTest' 'org.mockitousage.annotation.MockInjectionUsingConstructorTest' 'org.mockitousage.annotation.MockInjectionUsingConstructorIssue421Test' 'org.mockitousage.annotation.InjectionOfInlinedMockDeclarationTest' 'org.mockitousage.annotation.DeprecatedAnnotationEngineApiTest' 'org.mockitousage.annotation.CaptorAnnotationUnhappyPathTest' 'org.mockitousage.annotation.CaptorAnnotationTest' 'org.mockitousage.annotation.CaptorAnnotationBasicTest' 'org.mockitousage.annotation.AnnotationsTest' 'org.mockitousage.PlaygroundWithDemoOfUnclonedParametersProblemTest' 'org.mockitousage.PlaygroundTest' 'org.mockitousage.CompilationWarningsTest' 'org.mockitointegration.NoJUnitDependenciesTest' 'org.mockitointegration.NoByteCodeDependenciesTest' 'org.mockito.verification.TimeoutTest' 'org.mockito.verification.NegativeDurationTest' 'org.mockito.runners.ConsoleSpammingMockitoJUnitRunnerTest' 'org.mockito.internal.verification.checkers.NumberOfInvocationsInOrderCheckerTest' 'org.mockito.internal.verification.checkers.NumberOfInvocationsCheckerTest' 'org.mockito.internal.verification.checkers.MissingInvocationInOrderCheckerTest' 'org.mockito.internal.verification.checkers.MissingInvocationCheckerTest' 'org.mockito.internal.verification.checkers.AtLeastXNumberOfInvocationsCheckerTest' 'org.mockito.internal.verification.argumentmatching.ArgumentMatchingToolTest' 'org.mockito.internal.verification.VerificationWithDescriptionTest' 'org.mockito.internal.verification.VerificationOverTimeImplTest' 'org.mockito.internal.verification.VerificationDataImplTest' 'org.mockito.internal.verification.SmartPrinterTest' 'org.mockito.internal.verification.OnlyTest' 'org.mockito.internal.verification.NoMoreInteractionsTest' 'org.mockito.internal.verification.DescriptionTest' 'org.mockito.internal.verification.DefaultRegisteredInvocationsTest' 'org.mockito.internal.util.reflection.SuperTypesLastSorterTest' 'org.mockito.internal.util.reflection.ParameterizedConstructorInstantiatorTest' 'org.mockito.internal.util.reflection.LenientCopyToolTest' 'org.mockito.internal.util.reflection.GenericTypeExtractorTest' 'org.mockito.internal.util.reflection.GenericMetadataSupportTest' 'org.mockito.internal.util.reflection.GenericMasterTest' 'org.mockito.internal.util.reflection.GenericArrayReturnTypeTest' 'org.mockito.internal.util.reflection.FieldsTest' 'org.mockito.internal.util.reflection.FieldReaderTest' 'org.mockito.internal.util.reflection.FieldInitializerTest' 'org.mockito.internal.util.reflection.BeanPropertySetterTest' 'org.mockito.internal.util.reflection.AccessibilityChangerTest' 'org.mockito.internal.util.io.IOUtilTest' 'org.mockito.internal.util.collections.ListUtilTest' 'org.mockito.internal.util.collections.IdentitySetTest' 'org.mockito.internal.util.collections.HashCodeAndEqualsSafeSetTest' 'org.mockito.internal.util.TimerTest' 'org.mockito.internal.util.StringUtilTest' 'org.mockito.internal.util.SimpleMockitoLoggerTest' 'org.mockito.internal.util.PrimitivesTest' 'org.mockito.internal.util.PlatformTest' 'org.mockito.internal.util.ObjectMethodsGuruTest' 'org.mockito.internal.util.MockUtilTest' 'org.mockito.internal.util.MockSettingsTest' 'org.mockito.internal.util.MockNameImplTest' 'org.mockito.internal.util.MockCreationValidatorTest' 'org.mockito.internal.util.DefaultMockingDetailsTest' 'org.mockito.internal.util.ChecksTest' 'org.mockito.internal.stubbing.defaultanswers.ReturnsSmartNullsTest' 'org.mockito.internal.stubbing.defaultanswers.ReturnsMoreEmptyValuesTest' 'org.mockito.internal.stubbing.defaultanswers.ReturnsMocksTest' 'org.mockito.internal.stubbing.defaultanswers.ReturnsGenericDeepStubsTest' 'org.mockito.internal.stubbing.defaultanswers.ReturnsEmptyValuesTest' 'org.mockito.internal.stubbing.defaultanswers.ForwardsInvocationsTest' 'org.mockito.internal.stubbing.answers.ThrowsExceptionTest' 'org.mockito.internal.stubbing.answers.ReturnsTest' 'org.mockito.internal.stubbing.answers.ReturnsArgumentAtTest' 'org.mockito.internal.stubbing.answers.InvocationInfoTest' 'org.mockito.internal.stubbing.answers.DoesNothingTest' 'org.mockito.internal.stubbing.answers.DefaultAnswerValidatorTest' 'org.mockito.internal.stubbing.answers.CallsRealMethodsTest' 'org.mockito.internal.stubbing.answers.AnswersWithDelayTest' 'org.mockito.internal.stubbing.InvocationContainerImplTest' 'org.mockito.internal.stubbing.InvocationContainerImplStubbingTest' 'org.mockito.internal.session.DefaultMockitoSessionBuilderTest' 'org.mockito.internal.runners.util.TestMethodsFinderTest' 'org.mockito.internal.runners.util.RunnerProviderTest' 'org.mockito.internal.runners.DefaultInternalRunnerTest' 'org.mockito.internal.reporting.PluralizerTest' 'org.mockito.internal.progress.TimesTest' 'org.mockito.internal.progress.ThreadSafeMockingProgressTest' 'org.mockito.internal.progress.MockingProgressImplTest' 'org.mockito.internal.progress.AtLeastTest' 'org.mockito.internal.matchers.text.ValuePrinterTest' 'org.mockito.internal.matchers.text.MatcherToStringTest' 'org.mockito.internal.matchers.apachecommons.EqualsBuilderTest' 'org.mockito.internal.matchers.StringMatchersTest' 'org.mockito.internal.matchers.MatchersToStringTest' 'org.mockito.internal.matchers.MatchersPrinterTest' 'org.mockito.internal.matchers.InstanceOfTest' 'org.mockito.internal.matchers.EqualsTest' 'org.mockito.internal.matchers.EqualityTest' 'org.mockito.internal.matchers.ComparableMatchersTest' 'org.mockito.internal.matchers.CapturingMatcherTest' 'org.mockito.internal.listeners.VerificationStartedNotifierTest' 'org.mockito.internal.listeners.StubbingLookupNotifierTest' 'org.mockito.internal.junit.util.JUnitFailureHackerTest' 'org.mockito.internal.junit.UnusedStubbingsTest' 'org.mockito.internal.junit.StubbingArgMismatchesTest' 'org.mockito.internal.junit.ExceptionFactoryTest' 'org.mockito.internal.junit.ArgMismatchFinderTest' 'org.mockito.internal.invocation.mockref.MockWeakReferenceTest' 'org.mockito.internal.invocation.TypeSafeMatchingTest' 'org.mockito.internal.invocation.SerializableMethodTest' 'org.mockito.internal.invocation.MatcherApplicationStrategyTest' 'org.mockito.internal.invocation.InvocationsFinderTest' 'org.mockito.internal.invocation.InvocationMatcherTest' 'org.mockito.internal.invocation.InvocationMarkerTest' 'org.mockito.internal.handler.MockHandlerImplTest' 'org.mockito.internal.handler.MockHandlerFactoryTest' 'org.mockito.internal.handler.InvocationNotifierHandlerTest' 'org.mockito.internal.hamcrest.MatcherGenericTypeExtractorTest' 'org.mockito.internal.framework.DefaultMockitoFrameworkTest' 'org.mockito.internal.exceptions.util.ScenarioPrinterTest' 'org.mockito.internal.exceptions.stacktrace.StackTraceFilterTest' 'org.mockito.internal.exceptions.stacktrace.ConditionalStackTraceFilterTest' 'org.mockito.internal.exceptions.ReporterTest' 'org.mockito.internal.debugging.WarningsFinderTest' 'org.mockito.internal.debugging.VerboseMockInvocationLoggerTest' 'org.mockito.internal.debugging.LoggingListenerTest' 'org.mockito.internal.creation.instance.ConstructorInstantiatorTest' 'org.mockito.internal.creation.bytebuddy.TypeCachingMockBytecodeGeneratorTest' 'org.mockito.internal.creation.bytebuddy.SubclassByteBuddyMockMakerTest' 'org.mockito.internal.creation.bytebuddy.InlineByteBuddyMockMakerTest' 'org.mockito.internal.creation.bytebuddy.ByteBuddyMockMakerTest' 'org.mockito.internal.creation.MockSettingsImplTest' 'org.mockito.internal.creation.InterfaceOverrideTest' 'org.mockito.internal.creation.DelegatingMethodTest' 'org.mockito.internal.configuration.plugins.PluginLoaderTest' 'org.mockito.internal.configuration.plugins.PluginFinderTest' 'org.mockito.internal.configuration.plugins.PluginFileReaderTest' 'org.mockito.internal.configuration.plugins.DefaultMockitoPluginsTest' 'org.mockito.internal.configuration.injection.SimpleArgumentResolverTest' 'org.mockito.internal.configuration.injection.ConstructorInjectionTest' 'org.mockito.internal.configuration.MockInjectionTest' 'org.mockito.internal.configuration.GlobalConfigurationTest' 'org.mockito.internal.configuration.ClassPathLoaderTest' 'org.mockito.internal.InvalidStateDetectionTest' 'org.mockito.internal.InOrderImplTest' 'org.mockito.internal.AllInvocationsFinderTest' 'org.mockito.exceptions.stacktrace.StackTraceCleanerTest' 'org.mockito.exceptions.base.MockitoSerializationIssueTest' 'org.mockito.exceptions.base.MockitoExceptionTest' 'org.mockito.exceptions.base.MockitoAssertionErrorTest' 'org.mockito.StaticMockingExperimentTest' 'org.mockito.MockitoTest' 'org.mockito.InvocationFactoryTest' 'org.mockito.ArgumentCaptorTest' 'org.mockito.AnnotationsAreCopiedFromMockedTypeTest' 'org.concurrentmockito.VerificationInOrderFromMultipleThreadsTest' 'org.concurrentmockito.ThreadsShareGenerouslyStubbedMockTest' 'org.concurrentmockito.ThreadsShareAMockTest' 'org.concurrentmockito.ThreadsRunAllTestsHalfManualTest' 'org.concurrentmockito.ThreadVerifiesContinuouslyInteractingMockTest' > [31;01m*[0m environment, line 685: Called die > [31;01m*[0m The specific snippet of code: > [31;01m*[0m java "${args[@]}" || die "Running junit failed" > [31;01m*[0m > [31;01m*[0m If you need support, post the output of `emerge --info '=dev-java/mockito-2.28.2::gentoo'`, > [31;01m*[0m the complete build log and the output of `emerge -pqv '=dev-java/mockito-2.28.2::gentoo'`. >!!! When you file a bug report, please include the following information: >GENTOO_VM=openjdk-17 CLASSPATH="" JAVA_HOME="/usr/lib64/openjdk-17" >JAVACFLAGS="-source 1.8 -target 1.8" COMPILER="" >and of course, the output of emerge --info =mockito-2.28.2 > [31;01m*[0m The complete build log is located at '/var/tmp/portage/dev-java/mockito-2.28.2/temp/build.log'. > [31;01m*[0m The ebuild environment file is located at '/var/tmp/portage/dev-java/mockito-2.28.2/temp/environment'. > [31;01m*[0m Working directory: '/var/tmp/portage/dev-java/mockito-2.28.2/work/mockito-2.28.2' > [31;01m*[0m S: '/var/tmp/portage/dev-java/mockito-2.28.2/work/mockito-2.28.2'
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 903897
: 859608