static String generateIndexName(String baseString) {
    return generateResourceId(
        baseString,
        ILLEGAL_INDEX_NAME_CHARS,
        REPLACE_INDEX_NAME_CHAR,
        MAX_INDEX_NAME_LENGTH,
        TIME_FORMAT);
  }
@Test
  public void testGenerateIndexNameShouldReplaceForwardSlash() {
    String testBaseString = "Test/DB/Name";
    String actual = ElasticsearchUtils.generateIndexName(testBaseString);
    assertThat(actual).matches("test-db-name-\\d{8}-\\d{6}-\\d{6}");
  }