This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
~/Documents/poc(mockitobug) $ ./gradlew clean test | |
> Task :compileTestKotlin | |
Using Kotlin incremental compilation | |
> Task :junitPlatformTest FAILED | |
Mock for Iterator, hashCode: 1378592036 | |
Mock for Iterator, hashCode: 1876390738 | |
Mock for Iterator, hashCode: 810557024 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
~/Documents/poc(mockitobug-2) $ ./gradlew clean test ⏎ | |
> Task :compileTestKotlin | |
Using Kotlin incremental compilation | |
> Task :junitPlatformTest FAILED | |
org.mockito.exceptions.base.MockitoException: | |
Mockito cannot mock this class: interface java.util.Iterator. | |
If you're not sure why you're getting this error, please report to the mailing list. |