org.scalamock.specs2
A trait that can be mixed into a Specs2 specification to provide mocking support.
MockFactory does not work well in with thread pools and futures. Fixture-contexts support is also broken.
To use ScalaMock in Specs2 tests you can either:
Specification
(Since version 3.2) MockFactory is buggy. Please use IsolatedMockFactory or MockContext instead
A trait that can be mixed into a Specs2 specification to provide mocking support.
MockFactory does not work well in with thread pools and futures. Fixture-contexts support is also broken.
To use ScalaMock in Specs2 tests you can either:
Specification
with org.scalamock.specs2.IsolatedMockFactory to get isolated test cases or(Since version 3.2) MockFactory is buggy. Please use IsolatedMockFactory or MockContext instead