Mockito incapable de fabriquer final Java.lang.lang protégée

Use only this maven dependency:

    <dependency>
        <groupId>org.mockito</groupId>
        <artifactId>mockito-core</artifactId>
        <version>4.2.0</version>
        <scope>test</scope>
    </dependency>
Agreeable Ant