Registry / testing / mockito-3-2-2-12

mockito-3-2-2-12

JSON →
library3.1.2.0javamavenunverified

Integration library providing Mockito 3.2 matchers for ScalaTest on Scala 2.12.

<dependency> <groupId>org.scalatestplus</groupId> <artifactId>mockito-3-2_2.12</artifactId> <version>3.1.2.0</version> </dependency>
INSTALL
IMPORT
SIG · MOCKITO-3-2-2-12
M
mockito-3-2-2-12
testingjavav3.1.2.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

MockitoSugar
org.scalatestplus.mockito.MockitoSugar

Use MockitoSugar trait in ScalaTest spec.

import org.scalatestplus.mockito.MockitoSugar import org.scalatest.flatspec.AnyFlatSpec class MySpec extends AnyFlatSpec with MockitoSugar { "mock" should "work" in { val mockList = mock[List[String]] } }
Debug
Known issues
breakingThis artifact is for Scala 2.12 only; use mockito-3-2_2.13 for Scala 2.13.
fix
Select the correct Scala version suffix in the artifact coordinate.
affects: 3.1.2.0
Upgrade
Version history
3.1.2.0latest on Maven
Audit
Dependencies

No dependency data recorded yet.

Agent activity
2 hits · last 30 days
node
2
Resources
mockito-3-2-2-12 — mvn dependency:get mockito-3-2-2-12 · libregistry