queue.reserveTask(testTask);
queue.reserveTask(testTask);
}
@Test public void reserveTasksDelayed() throws Exception {
SchedulerQueue queue = getQueueInstance();
ScheduledTask delayedTask = new ScheduledTaskImpl(testTask, 100);
queue.reserveTask(delayedTask);
queue.reserveTask(delayedTask);
queue.reserveTask(delayedTask);
queue.reserveTask(delayedTask);
queue.reserveTask(delayedTask);
queue.reserveTask(delayedTask);
}