Skip to content

Commit 013e266

Browse files
committed
Update CHANGES
1 parent febf72f commit 013e266

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

CHANGES.txt

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,14 @@ MOCKITO CHANGE LOG
44

55
Release 2.0.0
66
---------------------------------
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.
715

816

917

0 commit comments

Comments
 (0)