public void GetUsers_ReturnsAllFavoritesUsers_UsersList()
        {
            //Arrange
            Favorite testFavorite = new Favorite("Pok Pok", "3226 SE Division Street 97202", "https://www.zomato.com/portland/pok-pok-richmond/menu?utm_source=api_basic_user&utm_medium=api&utm_campaign=v2.1&openSwipeBox=menu&showMinimal=1#tabtop", "https://www.zomato.com/portland/pok-pok-richmond/menu?utm_source=api_basic_user&utm_medium=api&utm_campaign=v2.1&openSwipeBox=menu&showMinimal=1#tabtop", 45.5046, -122.632, 35, "Thai");

            testFavorite.Save();
            User firstUser = new User("test-user", "password");

            firstUser.Save();
            firstUser.Edit(2, 25, "hello");
            User secondUser = new User("test-user1", "password1");

            secondUser.Save();
            secondUser.Edit(1, 25, "hi");

            //Act
            testFavorite.AddUser(firstUser);
            List <User> result   = testFavorite.GetUser();
            List <User> testList = new List <User> {
                firstUser
            };


            //Assert
            CollectionAssert.AreEqual(testList, result);
        }
        public void Delete_DeletesfavoriteAssociationsFromDatabase_ItemList()
        {
            //Arrange
            User testUser = new User("test-user", "password");

            testUser.Save();
            testUser.Edit(2, 25, "hello");
            Favorite testFavorite = new Favorite("Pok Pok", "3226 SE Division Street 97202", "https://www.zomato.com/portland/pok-pok-richmond/menu?utm_source=api_basic_user&utm_medium=api&utm_campaign=v2.1&openSwipeBox=menu&showMinimal=1#tabtop", "https://www.zomato.com/portland/pok-pok-richmond/menu?utm_source=api_basic_user&utm_medium=api&utm_campaign=v2.1&openSwipeBox=menu&showMinimal=1#tabtop", 45.5046, -122.632, 35, "Thai");

            testFavorite.Save();

            //Act
            testFavorite.AddUser(testUser);
            testFavorite.Delete();
            List <Favorite> resultUserFavorites = testUser.GetUserFavorite();
            List <Favorite> testUserFavorites   = new List <Favorite> {
            };

            //Assert
            CollectionAssert.AreEqual(testUserFavorites, resultUserFavorites);
        }