@Override
  public IndexType.IndexMainType getMainType() {
    return mainType;
  }
@Test
  public void getMainType_returns_main_type_of_authorization_for_index_of_constructor() {
    NewAuthorizedIndex underTest = new NewAuthorizedIndex(someIndex, defaultSettingsConfiguration);

    assertThat(underTest.getMainType()).isEqualTo(IndexType.main(someIndex, "auth"));
  }