예제 #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);
        }