public void AddToListTest() { UserDB testList = new UserDB(); User testUser = new User("testUsername", "testPassword"); testList.AddToList(testUser); Assert.NotEmpty(testList.List);//Testing the Add to List method in UserDB class }