Registry / testing / mockito-1-10-2-11

mockito-1-10-2-11

JSON →
library3.2.0.0-M2javamavenunverified

Integration library providing Mockito 1.10 support for ScalaTest on Scala 2.11.

<dependency> <groupId>org.scalatestplus</groupId> <artifactId>mockito-1-10_2.11</artifactId> <version>3.2.0.0-M2</version> </dependency>
INSTALL
IMPORT
SIG · MOCKITO-1-10-2-11
M
mockito-1-10-2-11
testingjavav3.2.0.0-M2
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

Shows how to create a mock using MockitoSugar in a ScalaTest spec.

import org.scalatestplus.mockito.MockitoSugar class ExampleSpec extends AnyFlatSpec with MockitoSugar { "A mock" should "be created" in { val mockList = mock[List[String]] } }
Debug
Known issues
breakingThis library is specific to Scala 2.11 and Mockito 1.10; may not be compatible with newer Scala versions.
fix
Use scalatestplus-mockito for your Scala version (e.g., mockito-3-4_2.13 for Scala 2.13 and Mockito 3.4).
affects: >=3.0.0
Upgrade
Version history
3.2.0.0-M2latest on Maven
Audit
Dependencies

No dependency data recorded yet.

Agent activity
2 hits · last 30 days
node
2
Resources
mockito-1-10-2-11 — mvn dependency:get mockito-1-10-2-11 · libregistry