1 package org.onap.appc.util;
3 import java.util.HashMap;
5 import org.junit.Assert;
8 public class MessageFormatterTest {
11 public void testEscapeDollarInMessgeFormatter() {
12 String msg = "${SYNC_NEW201}";
13 Map<String, Object> respMsg = new HashMap<>();
14 respMsg.put("vnfid", msg);
15 String formattedMsg = MessageFormatter.format(msg, respMsg);
16 Assert.assertEquals(msg, formattedMsg);