I’ve just released ScalaMock 2.1, with the following improvements over 2.0:
- Add support for polymorphic (type parameterised) methods
- Add support for curried methods
- Fix String constants in Java classes
- Fix unmocked operators
ScalaMock is a native Scala mocking framework which, as well as traits (interfaces) and functions, can also mock:
- Classes
- Singleton and companion objects (static methods)
- Object creation (constructor invocation)
- Polymorphic (type parameterised) methods
- Classes with private constructors
- Final classes and classes with final methods
- Operators (methods with symbolic names)
- Overloaded methods

0 Responses to “ScalaMock 2.1”
Leave a Reply