-
-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make FrozenClock mutable through setter
Because the FrozenClock is often injected in other objects during testing, being able to change the current time on the FrozenClock without reinjecting it in the object under test is quite useful.
- Loading branch information
Frank Koornstra
committed
Jan 19, 2018
1 parent
2f772f4
commit dd2a647
Showing
2 changed files
with
24 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters