You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Since version 1.16.0 it is possible to mock `object` methods, given that such definitions are global, the way to mock them is sligtly different in order to ensure we restore the real implementation of the object after we are done
750
+
Since version 1.16.0 it is possible to mock `object` methods, given that such definitions are global, the way to mock them is slightly different in order to ensure we restore the real implementation of the object after we are done
751
751
752
752
To enable `withObjectMocked` feature, it is mandatory to create the file `src/test/resources/mockito-extensions/org.mockito.plugins.MockMaker` containing a single line:
- Update mockito-core to 3.5.15 [(#304)](https://github.com/mockito/mockito-scala/pull/304)
16
-
- How to mock scala obejct[(#303)](https://github.com/mockito/mockito-scala/issues/303)
16
+
- How to mock scala object[(#303)](https://github.com/mockito/mockito-scala/issues/303)
17
17
18
18
#### 1.16.0
19
19
- 2020-09-27 - [1 commit](https://github.com/mockito/mockito-scala/compare/v1.15.1...v1.16.0) by [Bruno Bonanno](https://github.com/bbonanno) - published to [](https://bintray.com/mockito/maven/mockito-scala/1.16.0)
@@ -36,7 +36,7 @@
36
36
- NPE caused by mocking a generic method multiple times [(#256)](https://github.com/mockito/mockito-scala/issues/256)
37
37
- Mocking method return Any as type throws Exception [(#254)](https://github.com/mockito/mockito-scala/issues/254)
38
38
- IdiomaticMockitoSyntax appears not to handle thrown by without annotation [(#251)](https://github.com/mockito/mockito-scala/issues/251)
39
-
- NPE when mocking a trait with a NonEmpyString argument [(#250)](https://github.com/mockito/mockito-scala/issues/250)
39
+
- NPE when mocking a trait with a NonEmptyString argument [(#250)](https://github.com/mockito/mockito-scala/issues/250)
40
40
41
41
#### 1.14.8
42
42
- 2020-06-23 - [1 commit](https://github.com/mockito/mockito-scala/compare/v1.14.7...v1.14.8) by [Ben Spencer](https://github.com/dangerousben) - published to [](https://bintray.com/mockito/maven/mockito-scala/1.14.8)
0 commit comments