private Notification captureNotification() {
    ArgumentCaptor<Notification> notificationCaptor = ArgumentCaptor.forClass(Notification.class);
    verify(notificationListener, timeout(TIMEOUT))
        .handleNotification(notificationCaptor.capture(), isNull());
    return notificationCaptor.getValue();
  }
Fails due to GEODE-5923: JMX manager receives local Alerts only for the default AlertLevel
geode-core/src/integrationTest/java/org/apache/geode/management/DistributedSystemMXBeanIntegrationTest.java