### Question:
GroupKey { public static String getKey(String dataId, String group) { return getKey(dataId, group, ""); }  static String getKey(String dataId, String group); static String getKey(String dataId, String group, String datumStr); static String getKeyTenant(String dataId, String group, String tenant); static String[] parseKey(String groupKey);  }### Answer:
@Test public void testGetKey() { Assert.assertEquals("1+foo", GroupKey.getKey("1", "foo")); Assert.assertEquals("1+foo+bar", GroupKey.getKey("1", "foo", "bar")); Assert.assertEquals("1+f%2Boo+b%25ar", GroupKey.getKey("1", "f+oo", "b%ar")); }