public Map<String, Object> getAttributes() {
    return attributes;
  }
@Test
  @UseDataProvider("indexWithAndWithoutRelations")
  public void does_not_enable_all_field(Index index) {
    SimplestNewIndex newIndex = new SimplestNewIndex(IndexType.main(index, "foo"), defaultSettingsConfiguration);

    // _all field is deprecated in 6.X and will be removed in 7.x and should not be used
    assertThat(newIndex.getAttributes().get("_all")).isNull();
  }