}
}
public static CNSMessage getMessage(String msg, CNSMessageStructure structure, String subject, String topicArn, String userId) {
CNSMessage message = new CNSMessage();
message.setTimestamp(new Date());
message.setMessage(msg);
message.setMessageStructure(structure);
message.setSubject(subject);
message.setTopicArn(topicArn);
message.setUserId(userId);
message.setMessageId("test-message-id1");
return message;
}