示例#1
0
        public void GetUserByEmail_UserNotExist_Invalid()
        {
            UserDTO result = UserLogics.GetUserByEmail("xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx");

            Assert.IsNull(result);
        }
示例#2
0
        public void GetUserByEmail_UserExists_Success()
        {
            UserDTO result = UserLogics.GetUserByEmail(userEmail);

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