@Test
public void Should_initializeEntryState()
        throws Exception {

    IObject args = IOC.resolve(Keys.getOrAdd(IObject.class.getCanonicalName()),
            ("{" +
                    "'message': {'a':'asd'}," +
                    "'setEntryId': 'idFld'," +
                    "'preShutdownExec': true," +
                    "'chain': 'some_chain'," +
                    "'stackDepth': 13" +
                    "}").replace('\'','"'));
    action.init(schedulerEntryMock, args);
    assertEquals("asd", ((IObject)entryState.getValue(fn("message"))).getValue(fn("a")));
    assertEquals(schedulerEntryMock.getId(), ((IObject)entryState.getValue(fn("message"))).getValue(fn("idFld")));
    assertEquals(Boolean.TRUE, entryState.getValue(fn("preShutdownExec")));
    assertEquals("some_chain", entryState.getValue(fn("chain")));
    assertEquals(13, entryState.getValue(fn("stackDepth")));
}