### Question:
GroupKey { public static String getKeyTenant(String dataId, String group, String tenant) { return doGetKey(dataId, group, tenant); }  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 testGetKeyTenantByPlusThreeParams() { final String actual = GroupKey.getKeyTenant("3", "1", ","); Assert.assertEquals("3+1+,", actual); }
@Test public void testGetKeyTenantByPercentThreeParams() { final String actual = GroupKey.getKeyTenant("\u0000\u0000", "%+", null); Assert.assertEquals("\u0000\u0000+%25%2B", actual); }
@Test public void testGetKeyTenant() { Assert.assertEquals("1+foo+bar", GroupKey.getKeyTenant("1", "foo", "bar")); }