@Test
public void Should_chooseChainConditionIsTrue()
        throws Exception {

    IObject messageArgs = IOC.resolve(Keys.getOrAdd("info.smart_tools.smartactors.iobject.iobject.IObject"), "{'chainCondition': true}".replace('\'', '"'));
    when(messageProcessorMock.getMessage()).thenReturn(messageArgs);
    IChainChoiceStrategy strategy = new ConditionChainChoiceStrategy();
    assertSame(trueId, strategy.chooseChain(messageProcessorMock));
}