Exemple #1
0
        public void GetUserById_UserNotExists_Invalid()
        {
            UserDTO result = UserLogics.GetUserById("xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx");

            Assert.IsNull(result);
        }
Exemple #2
0
        public void GetUserById_UserExists_Success()
        {
            UserDTO result = UserLogics.GetUserById(userId);

            Assert.AreEqual(result.Id, userId);
        }