setupTask(new RetryableException(true));
EasyMock.expect(task.getTryCount()).andStubReturn(1);
replayMocks();
// verify
SchedulerRetryAction action = policy.getRetryAction(task);
Assert.assertEquals(SchedulerRetryAction.RETRY_NOW, action);
verifyMocks();
}