How do you test for time-dependent logic (e.g., cron jobs, subscriptions)?

Technical