@Test
public void Should_createSchedulerEntryAndSensorHandle()
        throws Exception {

    IObject conf = IOC.resolve(Keys.getOrAdd("info.smart_tools.smartactors.iobject.iobject.IObject"));
    when(newEntryStrategyMock.resolve(same(conf), same(entryStorage))).thenAnswer(invocation -> {
        assertEquals("stat_chain",
                conf.getValue(IOC.resolve(Keys.getOrAdd("info.smart_tools.smartactors.iobject.ifield_name.IFieldName"), "statisticsChain")));
        assertEquals("query sensor scheduler action",
                conf.getValue(IOC.resolve(Keys.getOrAdd("info.smart_tools.smartactors.iobject.ifield_name.IFieldName"), "action")));
        return entryMock;
    });
    ISensorHandle handle = new QuerySensorCreationStrategy().resolve(
            "stat_chain",
            conf
    );
    assertNotNull(handle);
}