@Test
  public void alertMessageIsNotReceived() {
    alertingService.addAlertListener(member, SEVERE);

    logger.fatal(alertMessage);

    verifyNoMoreInteractions(messageListener);
  }
Integration tests for {@link AlertingService} in a loner member.
geode-core/src/integrationTest/java/org/apache/geode/alerting/internal/api/AlertingServiceWithLonerIntegrationTest.java