Where current implementation relies on the current time then replace that with the PSR-20 Clock from 298c13ac3b. This allows for better and more accurate testing of such code.
298c13ac3b