@Test
public void Should_notOverwriteExistFinalActionsList()
        throws Exception {

    IAction<IObject> actionStub = env -> {};
    List<IAction<IObject>> list = new ArrayList<>();
    list.add(actionStub);
    when(contextMock.getValue(eq(new FieldName("finalActions")))).thenReturn(list);
    MessageProcessor messageProcessor = new MessageProcessor(taskQueueMock, messageProcessingSequenceMock, configurationMock);
    messageProcessor.process(messageMock, contextMock);
    verify(contextMock, times(0)).setValue(eq(new FieldName("finalActions")), any());
    assertSame(actionStub, list.get(0));
    assertEquals(2, list.size());
}