public void setResultMessages(List<AbstractResultMessage> resultMessages) {
        this.resultMessages = resultMessages;
    }
@Test
    void setResultMessages() {
        BatchResultMessage batchResultMessage = new BatchResultMessage();

        List<AbstractResultMessage> resultMessages = Arrays.asList(new RegisterTMResponse(), new RegisterRMResponse(false));
        batchResultMessage.setResultMessages(resultMessages);

        Assertions.assertIterableEquals(resultMessages, batchResultMessage.getResultMessages());
    }