SentinelUtil { public static String getSentinelMonitorName(String clusterName, String monitorName, String idc) { return clusterName + SENTINEL_MONITOR_NAME_CLUE + monitorName + SENTINEL_MONITOR_NAME_CLUE + idc; }  static String getSentinelMonitorName(String clusterName, String monitorName, String idc); static SentinelInfo getSentinelInfoFromMonitorName(String monitorName);  }
@Test public void getSentinelMonitorName() { Assert.assertEquals(clusterName + '+' + monitorName + '+' + activeDc, SentinelUtil.getSentinelMonitorName(clusterName, monitorName, activeDc)); }