### Question:
AuditApplicationMessage { public AuditApplicationMessage(AppData appData) { this.topicId = appData.getHCSCore().getTopics().get(appData.getTopicIndex()).getTopic(); } AuditApplicationMessage(AppData appData);   }### Answer:
@Test public void testAuditApplicationMessage() throws Exception { AppData appData = new AppData("./src/test/resources/config.yaml", "./src/test/resources/dotenv.sample", "./src/test/resources/docker-compose.yml","./src/test/resources/contact-list.yaml"); AuditApplicationMessage auditApplicationMessage = new AuditApplicationMessage(appData); auditApplicationMessage.setApplicationMessageId("applicationMessageId"); auditApplicationMessage.setMessage("message"); auditApplicationMessage.setLastChronoPartConsensusTimestamp("lastChronoPartConsensusTimestamp"); assertEquals("applicationMessageId", auditApplicationMessage.getApplicationMessageId()); assertEquals("message", auditApplicationMessage.getMessage()); assertEquals("lastChronoPartConsensusTimestamp", auditApplicationMessage.getLastChronoPartConsensusTimestamp()); assertEquals(appData.getHCSCore().getTopics().get(appData.getTopicIndex()).getTopic(), auditApplicationMessage.getTopicId()); }