Must be created before the test code is run, and then tested afterwards using {@link #assertScheduled(String)}.
This is more robust than using {@link IJobManager#find(Object)} after runningthe test code because it registers a listener and is not prone to the job being done already at the time of calling find
.
|
|