Packages

p

org.mockito

scalatest

package scalatest

Type Members

  1. trait AsyncIdiomaticMockito extends IdiomaticMockitoBase with ArgumentMatchersSugar with MockitoSessionAsyncFixture
  2. trait AsyncMockitoSugar extends mockito.MockitoSugar with ArgumentMatchersSugar with MockitoSessionAsyncFixture
  3. trait IdiomaticMockito extends IdiomaticMockitoBase with ArgumentMatchersSugar with MockitoSessionFixture
  4. trait MockitoSugar extends mockito.MockitoSugar with ArgumentMatchersSugar with MockitoSessionFixture
  5. 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

Ungrouped