@Test
public void Should_restoreEntryAndScheduleItWhenItIsTooLateButItIsNeverTooLate()
        throws Exception {

    when(entry.getState()).thenReturn(IOC.resolve(Keys.getOrAdd("info.smart_tools.smartactors.iobject.iobject.IObject"),
            "{'time':'2000-10-10T00:50:15','neverTooLate':true}".replace('\'','"')));
    ISchedulingStrategy strategy = new OnceSchedulingStrategy();
    strategy.restore(entry);
    verify(entry).scheduleNext(LocalDateTime.parse("2000-10-10T00:50:15").atZone(ZoneOffset.UTC).toInstant().toEpochMilli());
}