How do you test a feature that depends on a scheduled job?

Technical