@Test
public void Should_initializeEntryAndSaveIfNecessary()
        throws Exception {

    ISchedulingStrategy strategy = new OnceSchedulingStrategy();
    strategy.init(entry, IOC.resolve(Keys.getOrAdd("info.smart_tools.smartactors.iobject.iobject.IObject"),
            "{'time':'1989-09-11T00:00:05','save':true,'neverTooLate':true}".replace('\'','"')));
    verify(entry).save();
    verify(entry).scheduleNext(LocalDateTime.parse("1989-09-11T00:00:05").atZone(ZoneOffset.UTC).toInstant().toEpochMilli());
    assertEquals("1989-09-11T00:00:05", entry.getState().getValue(time));
    assertEquals(true, entry.getState().getValue(ntl));
    assertNull(entry.getState().getValue(save));
}