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

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

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