We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent febf72f commit 013e266Copy full SHA for 013e266
1 file changed
CHANGES.txt
@@ -4,6 +4,14 @@ MOCKITO CHANGE LOG
4
5
Release 2.0.0
6
---------------------------------
7
+- Calling `thenAnswer()` without arguments is now allowed and is treated like
8
+ `thenReturn()` without arguments: the stubbed method will return `None`.
9
+- Deprecate `verifyNoMoreInteractions` in favor of `ensureNoUnverifiedInteractions`.
10
+- Deprecate `verifyNoUnwantedInteractions` in favor of `verifyExpectedInteractions`.
11
+- Context managers now check usage and any expectations (set via `expect`) on exit. The usage
12
+ check can be disabled with the environment variable `MOCKITO_CONTEXT_MANAGERS_CHECK_USAGE="0"`.
13
+- The `between` matcher now supports open ranges, e.g. `between=(0,)` to assert that at least
14
+ 0 interactions occurred.
15
16
17
0 commit comments