@Before
  public void setUp() {
    alertMessage = "Alerting in " + testName.getMethodName();

    messageListener = spy(AlertListenerMessage.Listener.class);
    addListener(messageListener);

    Properties config = new Properties();
    config.setProperty(LOCATORS, "");

    system = (InternalDistributedSystem) DistributedSystem.connect(config);
    member = system.getDistributedMember();
    logger = LogService.getLogger();

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