public List<String> getEnabledIdentityProviders() {
    return identityProviderRepository.getAllEnabledAndSorted()
      .stream()
      .filter(IdentityProvider::isEnabled)
      .map(IdentityProvider::getName)
      .toList();
  }
@Test
  public void getEnabledIdentityProviders_whenDefined_shouldReturnOnlyEnabled() {
    mockIdentityProviders(List.of(
      new TestIdentityProvider().setKey("saml").setName("Okta").setEnabled(true),
      new TestIdentityProvider().setKey("github").setName("GitHub").setEnabled(true),
      new TestIdentityProvider().setKey("bitbucket").setName("BitBucket").setEnabled(false)
    ));

    assertThat(commonSystemInformation.getEnabledIdentityProviders())
      .containsExactlyInAnyOrder("Okta", "GitHub");
  }