@Test
  public void hasAlertListenerIsFalseAfterRemoving() {
    alertingService.addAlertListener(member, WARNING);
    alertingService.removeAlertListener(member);

    assertThat(alertingService.hasAlertListener(member, WARNING)).isFalse();
  }
Integration tests for adding and removing {@code Alert} listeners.
geode-log4j/src/integrationTest/java/org/apache/geode/alerting/log4j/internal/impl/AlertListenerRegistrationIntegrationTest.java