clock property
If clock is provided, it is used to get time instead of the system clock. This is useful in tests. Should be an implementation of ClockProvider.
Implementation
ClockProvider clock = getUtcDateTime;
If clock is provided, it is used to get time instead of the system clock. This is useful in tests. Should be an implementation of ClockProvider.
ClockProvider clock = getUtcDateTime;