@Test
public void Should_notSendMessageIfEntryIsMarkedAsCompleted()
        throws Exception {

    IObject entryState = IOC.resolve(Keys.getOrAdd("info.smart_tools.smartactors.iobject.iobject.IObject"),
            ("{'recoverStrategy':'the recover strategy'," +
                    "'message':{'a':'1'}," +
                    "'responsibleCheckpointId':'rCP'," +
                    "'prevCheckpointId':'prCP'," +
                    "'prevCheckpointEntryId':'pcpEi'," +
                    "'completed':true," +
                    "'gotFeedback':true}").replace('\'','"'));
    when(entryMock.getState()).thenReturn(entryState);
    CheckpointSchedulerAction action = new CheckpointSchedulerAction();
    action.execute(entryMock);
    verify(messageBusHandlerMock, never()).handle(any(), any());
}