Class TestNotification

All Implemented Interfaces:
com.fishlib.base.log.LogOutputAppendable, NotificationQueue.IndexUpdateNotification, NotificationQueue.Notification, IntrusiveDoublyLinkedNode<NotificationQueue.Notification>, Runnable

public class TestNotification extends AbstractIndexUpdateNotification
  • Constructor Details

    • TestNotification

      public TestNotification()
  • Method Details

    • canExecute

      public boolean canExecute(long step)
      Description copied from interface: NotificationQueue.Notification
      Can this notification be executed? That is, are all of it's dependencies satisfied.
      Parameters:
      step - The step for which we are testing satisfaction
      Returns:
      true if this notification can be executed, false if it has unmet dependencies
    • run

      public void run()
    • reset

      public void reset()
    • assertInvoked

      public void assertInvoked()
    • assertNotInvoked

      public void assertNotInvoked()