public static boolean isEditionBundled(Plugin plugin) {
    return SONARSOURCE_ORGANIZATION.equalsIgnoreCase(plugin.getOrganization())
      && Arrays.stream(SONARSOURCE_COMMERCIAL_LICENSES).anyMatch(s -> s.equalsIgnoreCase(plugin.getLicense()));
  }
@Test
  public void isEditionBundled_on_PluginInfo_returns_false_for_license_SonarSource_and_non_SonarSource_organization() {
    PluginInfo pluginInfo = newPluginInfo(randomAlphanumeric(3), randomizeCase("SonarSource"));

    assertThat(EditionBundledPlugins.isEditionBundled(pluginInfo)).isFalse();
  }