Beispiel #1
0
        public void GetUserFromUserList()
        {
            User boaz = UserDataBase.AddNewUser("boaz", "boazboaz");

            Assert.IsTrue(boaz.Equals(UserDataBase.GetUserFromUserList("boaz")));

            User notBoaz = UserDataBase.AddNewUser("notBoaz", "boazboaz");

            Assert.IsFalse(boaz.Equals(UserDataBase.GetUserFromUserList("notBoaz")));
        }