MVN

org.powermock : powermock-api-mockito2

Maven & Gradle

Nov 01, 2020
1.4k usages
4k stars

PowerMock · PowerMock API for Mockito 2.+..

<dependency>
    <groupId>org.powermock</groupId>
    <artifactId>powermock-api-mockito2</artifactId>
    <version>2.0.9</version>
</dependency>
Copy
pom.xml
Table Of Contents

Latest Version

Choose a version of org.powermock : powermock-api-mockito2 to add to Maven or Gradle - Latest Versions:

  • Latest Stable: 2.0.9
  • Latest Release Candidate: 2.0.0-RC.4
  • Latest Beta: 2.0.0-beta.5

All Versions

Choose a version of org.powermock : powermock-api-mockito2 to add to Maven or Gradle - All Versions:

Version Vulnerabilities Updated
2.0.x
powermock-api-mockito2-2.0.9
powermock-api-mockito2-2.0.7
powermock-api-mockito2-2.0.6
powermock-api-mockito2-2.0.5
powermock-api-mockito2-2.0.4
powermock-api-mockito2-2.0.2
powermock-api-mockito2-2.0.0
powermock-api-mockito2-2.0.0-RC.4
powermock-api-mockito2-2.0.0-RC.3
powermock-api-mockito2-2.0.0-RC.1
powermock-api-mockito2-2.0.0-beta.5
1.7.x
powermock-api-mockito2-1.7.4
powermock-api-mockito2-1.7.3
powermock-api-mockito2-1.7.1
powermock-api-mockito2-1.7.0
powermock-api-mockito2-1.7.0RC4
powermock-api-mockito2-1.7.0RC2
1.6.x
powermock-api-mockito2-1.6.6
powermock-api-mockito2-1.6.5

How to add a dependency to Maven

Add the following org.powermock : powermock-api-mockito2 maven dependency to the pom.xml file with your favorite IDE (IntelliJ / Eclipse / Netbeans):

<dependency>
    <groupId>org.powermock</groupId>
    <artifactId>powermock-api-mockito2</artifactId>
    <version>2.0.9</version>
</dependency>

How to add a dependency to Gradle

Gradle Groovy DSL: Add the following org.powermock : powermock-api-mockito2 gradle dependency to your build.gradle file:

implementation 'org.powermock:powermock-api-mockito2:2.0.9'

Gradle Kotlin DSL: Add the following org.powermock : powermock-api-mockito2 gradle kotlin dependency to your build.gradle.kts file:

implementation("org.powermock:powermock-api-mockito2:2.0.9")

How to add a dependency to SBT Scala

SBT Scala: Add the following org.powermock : powermock-api-mockito2 sbt scala dependency to your build.sbt file:

libraryDependencies += "org.powermock" % "powermock-api-mockito2" % "2.0.9"

Advertisement

Dependencies from Group

Nov 01, 2020
3.3k usages
4k stars
Apr 12, 2018
2.3k usages
4k stars
Nov 01, 2020
1.4k usages
4k stars
Nov 02, 2020
534 usages
4k stars
Nov 01, 2020
511 usages
4k stars

Discover Dependencies

Aug 24, 2023
23 usages
431 stars
Oct 17, 2016
4 usages
1.3k stars
Aug 08, 2023
216 stars
May 30, 2023
3 usages
45 stars
Aug 24, 2023
16 usages
680 stars
May 03, 2020
3 usages
3 stars
Sep 11, 2022
5 usages
1.2k stars
Nov 25, 2022
1 usages
1.2k stars