public abstract BuiltIndex<T> build();
@Test
  @UseDataProvider("indexWithAndWithoutRelations")
  public void fail_when_replica_customization_cant_be_parsed(Index index) {
    settings.setProperty(CLUSTER_ENABLED.getKey(), "true");
    settings.setProperty(SEARCH_REPLICAS.getKey(), "ꝱꝲꝳପ");
    SettingsConfiguration settingsConfiguration = newBuilder(settings.asConfig()).setDefaultNbOfShards(5).build();
    IndexMainType mainType = IndexType.main(index, "foo");

    assertThatThrownBy(() ->  new SimplestNewIndex(mainType, settingsConfiguration))
      .isInstanceOf(IllegalStateException.class)
      .hasMessage("The property 'sonar.search.replicas' is not an int value: For input string: \"ꝱꝲꝳପ\"");
  }