@Test
void onTopicMessage() {

    TopicMessage topicMessage = new TopicMessage();
    topicMessage.setConsensusTimestamp(1L);
    topicMessage.setMessage(new byte[] {'a'});
    topicMessage.setRealmNum(0);
    topicMessage.setRunningHash(new byte[] {'b'});
    topicMessage.setRunningHashVersion(2);
    topicMessage.setSequenceNumber(1);
    topicMessage.setTopicNum(1);
    repositoryEntityListener.onTopicMessage(topicMessage);
    assertThat(topicMessageRepository.findAll()).contains(topicMessage);
}