I've got scheduler with cron as follows:
@Scheduled(cron = "0 0 1 * * *")
@SchedulerLock(name = "PT20M")
public void schedulerSubscriptionsUpdate() {}
I'm trying to test entire functionality of this scheduled method - some kind of an integration test (including correctness of method's execution - time). Do you have any sugestions how can I do this?