package scalatest
Type Members
-
trait
IdiomaticMockitoFixture extends MockitoSessionFixture with IdiomaticMockito with ArgumentMatchersSugar
It automatically wraps each test in a MockitoScalaSession so the implicit verifications are applied
It automatically wraps each test in a MockitoScalaSession so the implicit verifications are applied
Just mix-in after your favourite suite, i.e.
class MyTest extends WordSpec with IdiomaticMockitoFixture
- Annotations
- @deprecated
- Deprecated
(Since version 1.3.0) Please use org.mockito.scalatest.IdiomaticMockito or org.mockito.scalatest.AsyncIdiomaticMockito from the mockito-scala-scalatest module
-
trait
MockitoFixture extends MockitoSessionFixture with MockitoSugar with ArgumentMatchersSugar
It automatically wraps each test in a MockitoScalaSession so the implicit verifications are applied
It automatically wraps each test in a MockitoScalaSession so the implicit verifications are applied
Just mix-in after your favourite suite, i.e.
class MyTest extends WordSpec with MockitoFixture
- Annotations
- @deprecated
- Deprecated
(Since version 1.3.0) Please use org.mockito.scalatest.MockitoSugar or org.mockito.scalatest.AsyncMockitoSugar from the mockito-scala-scalatest module
-
trait
ResetMocksAfterEachTest extends TestSuite with MockCreator
It automatically resets each mock after a each test is run, useful when we need to pass the mocks to some framework once at the beginning of the test suite
It automatically resets each mock after a each test is run, useful when we need to pass the mocks to some framework once at the beginning of the test suite
Just mix-in after your favourite suite, i.e.
class MyTest extends PlaySpec with MockitoSugar with ResetMocksAfterEachTest
- Annotations
- @deprecated
- Deprecated
(Since version 1.3.0) Please use org.mockito.scalatest.ResetMocksAfterEachTest from the mockito-scala-scalatest module