Delegates to Mockito.withSettings()
, it's only here to expose the full Mockito API
Delegates to Mockito.withSettings()
, it's only here to expose the full Mockito API
The parameterless execute method has been deprecated and will be removed in a future version of ScalaTest. Please invoke execute with empty parens instead: execute().
The trap method is no longer needed for demos in the REPL, which now abreviates stack traces, and will be removed in a future version of ScalaTest
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.