AttributesUtil { public static String toKPropertyFormat(String value) { return DOUBLE_UNDERSCORE.matcher(value).replaceAll("\\."); }  static String toProtobufFormat(String value); static String toKPropertyFormat(String value);  }
@Test public void toKPropertyFormat_replacesDoubleUnderscoreWithSlashDot() { assertThat(AttributesUtil.toKPropertyFormat("a__b_c__d")).isEqualTo("a.b_c.d"); }