    @Test
    public void allActionsInTheListAreExecuted() {

        ChainedFailedMessageAction underTest = new ChainedFailedMessageAction(Arrays.asList(
                failedMessageAction1, failedMessageAction2
        ));

        underTest.accept(failedMessage);

        verify(failedMessageAction1).accept(failedMessage);
        verify(failedMessageAction2).accept(failedMessage);
    }