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_Plugin_fails_with_NPE_if_arg_is_null() {
    assertThatThrownBy(() -> EditionBundledPlugins.isEditionBundled((Plugin) null))
      .isInstanceOf(NullPointerException.class);
  }