@FixFor( {"MODE-2160", "MODE-2279"} )
@Test
public void shouldAllowValidRepositoryConfigurationWithIndexProvidersAndNotionalIndexes() {
RepositoryConfiguration config = assertValid("config/repo-config-local-provider-and-notional-indexes.json");
Indexes indexes = config.getIndexes();
EnumSet<IndexKind> found = EnumSet.noneOf(IndexKind.class);
for (String indexName : indexes.getIndexNames()) {
IndexDefinition defn = indexes.getIndex(indexName);
IndexKind kind = defn.getKind();
found.add(kind);
assertThat(kind, is(notNullValue()));
}
assertThat(found, is(EnumSet.allOf(IndexKind.class)));