Example #1
0
        public void User_Add_Id_99()
        {
            User user = new User()
            {
                Id = 99, Name = "user 99", Email = "*****@*****.**", Password = "******"
            };

            _userService.Save(user);

            User result = _userService.Get(user.Id);

            Assert.IsNotNull(result);
            Assert.AreEqual <User>(user, result);
        }