@Test
public void Should_initializeEntryState()
        throws Exception {

    IObject args = IOC.resolve(Keys.getOrAdd("info.smart_tools.smartactors.iobject.iobject.IObject"),
            ("{" +
                "'queryExecutor':'that query executor'," +
                "'statisticsChain':'the_statistics_chain'" +
                "}").replace('\'','"'));
    new QuerySensorSchedulerAction().init(schedulerEntryMock, args);
    verify(queryExecutorMock).init(same(schedulerEntryMock), same(args));
    assertEquals("that query executor", schedulerEntryMock.getState()
            .getValue(IOC.resolve(Keys.getOrAdd("info.smart_tools.smartactors.iobject.ifield_name.IFieldName"), "queryExecutor")));
    assertEquals("the_statistics_chain", schedulerEntryMock.getState()
            .getValue(IOC.resolve(Keys.getOrAdd("info.smart_tools.smartactors.iobject.ifield_name.IFieldName"), "statisticsChain")));
}