Class UserTest

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

public class UserTest extends Object
Unit Test class for the user model
Since:
05nov2024
  • Field Details

    • setUpComplete

      private static boolean setUpComplete
    • testUser

      static User testUser
    • db

      private static final TestDatabase db
  • Constructor Details

    • UserTest

      public UserTest()
  • Method Details

    • createDb

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

      public static void closeDb()
    • testUserName

      public void testUserName()
      Tests the Name attribute of the user model
    • testUserDescription

      public void testUserDescription()
      Tests the Description attribute of the User model
    • testUserEmail

      public void testUserEmail()
      Tests the Email attribute of the User model
    • testUserPhone

      public void testUserPhone()
      Tests the Phone attribute of the User model
    • testUserAdminNotifs

      public void testUserAdminNotifs()
      Tests the admin notification attribute of the User model
    • testUserOrgNotifs

      public void testUserOrgNotifs()
      Tests the organization notification attribute of the User model
    • testUserAdminStatus

      public void testUserAdminStatus()
      Tests the admin attribute of the User model