Class RememberNotifications


  • public class RememberNotifications
    extends Notifications
    Mockup that simply remembers its last calls in two public fields.
    • Method Detail

      • notify

        public void notify​(String message,
                           NotificationType eventType,
                           Throwable exception)
        Remember the variables, and print a message to stdout.
        Specified by:
        notify in class Notifications
        Parameters:
        message - The message to remember.
        eventType - The type of notification event
        exception - The exception to remember.
      • resetSingleton

        public static void resetSingleton()