public void RemoveUser_ShouldReturnStatusError()
 {
     UserManager.UserManager users = new UserManager.UserManager();
     List<User> userList = new List<User>();
     userList.AddRange(new User[] { new User("1"), new User("2"), new User("3"), new User("4")});
     users.UpdateUserList(userList);
     users.RemoveUser("2");
     Assert.AreEqual(null, users.GetUserListOfSongs("2"));
 }
Ejemplo n.º 2
0
        public void RemoveUser_ShouldReturnStatusError()
        {
            UserManager.UserManager users    = new UserManager.UserManager();
            List <User>             userList = new List <User>();

            userList.AddRange(new User[] { new User("1"), new User("2"), new User("3"), new User("4") });
            users.UpdateUserList(userList);
            users.RemoveUser("2");
            Assert.AreEqual(null, users.GetUserListOfSongs("2"));
        }