Generates unique names for mocks, stubs, and mock functions
Generates unique names for mocks, stubs, and mock functions
(Since version ) see corresponding Javadoc for more information.
A trait that can be mixed into a Specs2 specification to provide mocking support.
To use ScalaMock in Specs2 tests you can either:
Specificationwith org.scalamock.specs2.IsolatedMockFactory to get isolated test cases orIsolated tests cases are clean and simple, recommended when all test cases have the same or very similar fixtures