@Override
  public Collection<String> resolve(Class<? extends AnalysisIndexer> clazz) {
    if (clazz.isAssignableFrom(IssueIndexer.class)) {
      return changedIssuesRepository.getChangedIssuesKeys();
    }
    throw new UnsupportedOperationException("Unsupported indexer: " + clazz);
  }
@Test
  public void resolve_whenIssueIndexer_shouldReturnChangedIssueKeys() {
    when(changedIssuesRepository.getChangedIssuesKeys()).thenReturn(Set.of("key1", "key2","key3"));
    Collection<String> resolvedDiff = underTest.resolve(IssueIndexer.class);
    
    assertThat(resolvedDiff)
      .containsExactlyInAnyOrder("key1", "key2","key3");
  }