@Override
  public boolean isAvailable() {
    return sonarRuntime.getEdition() == ENTERPRISE || sonarRuntime.getEdition() == DATACENTER;
  }
@Test
  @UseDataProvider("editionsAndMultipleAlmAvailability")
  public void isEnabled_shouldOnlyBeEnabledInEnterpriseEditionPlus(SonarEdition edition, boolean shouldBeEnabled) {
    when(sonarRuntime.getEdition()).thenReturn(edition);

    boolean isAvailable = underTest.isAvailable();

    assertThat(isAvailable).isEqualTo(shouldBeEnabled);
  }