Package com.syzygy.events.ModelTests
Class NotificationTest
java.lang.Object
com.syzygy.events.ModelTests.NotificationTest
Unit Test class for the notification model
- Since:
- 08nov2024
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final TestDatabaseprivate static boolean(package private) static Event(package private) static Facility(package private) static Notification(package private) static User(package private) static User -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
setUpComplete
private static boolean setUpComplete -
testNotification
-
testEvent
-
testUser
-
testUser2
-
testFacility
-
db
-
-
Constructor Details
-
NotificationTest
public NotificationTest()
-
-
Method Details
-
createDb
- Throws:
InterruptedExceptionParseException
-
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
-