Mockito Core Maven Dependency - RameshMF/java-json-processing-tutorial GitHub Wiki

Mockito mock objects library core API and implementation

Mockito Core Maven Dependency

Copy below Mockito Core maven dependency and paste in your project pom.xml file:

<!-- https://mvnrepository.com/artifact/org.mockito/mockito-core -->
<dependency>
    <groupId>org.mockito</groupId>
    <artifactId>mockito-core</artifactId>
    <version>3.1.0</version>
    <scope>test</scope>
</dependency>

Mockito Core Gradle Dependency

Copy below Mockito Core gradle dependency and paste in your project build.gradle file:

// https://mvnrepository.com/artifact/org.mockito/mockito-core
testCompile group: 'org.mockito', name: 'mockito-core', version: '3.1.0'

Download JAR File

https://repo1.maven.org/maven2/org/mockito/mockito-core/3.1.0/mockito-core-3.1.0.jar

Check for Latest Release

https://mvnrepository.com/artifact/org.mockito/mockito-core

Reference

⚠️ **GitHub.com Fallback** ⚠️