package scalatest
Type Members
- trait AsyncIdiomaticMockito extends AsyncIdiomaticMockitoBase with PostfixVerifications
- trait AsyncIdiomaticMockitoBase extends IdiomaticStubbing with ArgumentMatchersSugar with MockitoSessionAsyncFixture
- trait AsyncMockitoSugar extends mockito.MockitoSugar with ArgumentMatchersSugar with MockitoSessionAsyncFixture
- trait IdiomaticMockito extends IdiomaticMockitoBase with PostfixVerifications
- trait IdiomaticMockitoBase extends IdiomaticStubbing with ArgumentMatchersSugar with MockitoSessionFixture
- trait MockitoSugar extends mockito.MockitoSugar with ArgumentMatchersSugar with MockitoSessionFixture
-
trait
ResetMocksAfterEachAsyncTest extends AsyncTestSuite with ResetMocksAfterEachTestBase
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 ResetMocksAfterEachAsyncTest
-
trait
ResetMocksAfterEachTest extends TestSuite with ResetMocksAfterEachTestBase
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
-
trait
ResetMocksAfterEachTestBase extends 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