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