ScalaMock is a mocking framework for the Scala programming language.
ScalaMock provides fully type-safe mocking support for almost all Scala language features including:
- mocking classes, traits and case classes
- mocking functions and operators
- mocking type parameterized and overloaded methods
- support for type constraints
- support for repeated parameters and named parameters
- mocking Java classes and interfaces
The official Web site for the ScalaMock project is http://www.scalamock.org.