### Question:
ElasticIndexNameResolver { public String getIndexNameFromKind(String kind) { String index = kind.replace(":", "-").toLowerCase(); if (KIND_INDEX_MAP.containsKey(kind)) { return KIND_INDEX_MAP.get(kind); } if (!KIND_INDEX_MAP.containsKey(kind)) { KIND_INDEX_MAP.putIfAbsent(kind, index); INDEX_KIND_MAP.putIfAbsent(index, kind); } return KIND_INDEX_MAP.get(kind); }  String getIndexNameFromKind(String kind); String getKindFromIndexName(String indexName);  }### Answer:
@Test public void test_correct_index_from_kind() { assertEquals("tenant1-welldb-v2-wellbore-2.0.0", this.sut.getIndexNameFromKind("tenant1:welldb-v2:wellbore:2.0.0")); }