Class NotificationTest

java.lang.Object
com.syzygy.events.ModelTests.NotificationTest

public class NotificationTest extends Object
Unit Test class for the notification model
Since:
08nov2024
  • Field Details

    • setUpComplete

      private static boolean setUpComplete
    • testNotification

      static Notification testNotification
    • testEvent

      static Event testEvent
    • testUser

      static User testUser
    • testUser2

      static User testUser2
    • testFacility

      static Facility testFacility
    • db

      private static final TestDatabase db
  • Constructor Details

    • NotificationTest

      public NotificationTest()
  • Method Details

    • createDb

      public void createDb() throws InterruptedException, ParseException
      Throws:
      InterruptedException
      ParseException
    • closeDb

      public static void closeDb()
    • testNotifAttributes

      public void testNotifAttributes()
      Tests the attributes of the Notification model
    • testNotifReadAttribute

      public void testNotifReadAttribute()
      Tests the read attribute of the Notification model