@Test
public void scheduleTimerTaskShouldScheduleOneTimeTaskWithCorrectNameAndDelay() throws Exception {

    final Timer timer = mock(Timer.class);
    final TimerTask timerTask = createTimerTask();
    whenNew(Timer.class).withAnyArguments().thenReturn(timer);
    timerTools.scheduleTimerTask("TheTimer", timerTask, 123);
    verifyNew(Timer.class).withArguments("TheTimer");
    verify(timer).schedule(timerTask, 123);
}