@Test
public void Should_resolveQueueSchedulingTask()
        throws Exception {

    ITimer timer = new TimerImpl(timerMock);
    long tm = System.currentTimeMillis() + 1337;
    timer.schedule(taskMock, tm);
    verifyStatic();
    IOC.resolve(same(taskQueueKey));
    ArgumentCaptor<TimerTask> timerTaskArgumentCaptor = ArgumentCaptor.forClass(TimerTask.class);
    ArgumentCaptor<Long> timeArgumentCaptor = ArgumentCaptor.forClass(Long.class);
    verify(timerMock).schedule(timerTaskArgumentCaptor.capture(), timeArgumentCaptor.capture());
    assertTrue(1000L > Math.abs(1337 - timeArgumentCaptor.getValue()));
    timerTaskArgumentCaptor.getValue().run();
    verify(taskQueueMock).put(same(taskMock));
}