Beispiel #1
0
        public void GetUserByName_UserNotExist_Invalid()
        {
            UserDTO result = UserLogics.GetUserByName("xxxxxxxxxxxxxxxxqqqwwwzzzzyyyyyyyyyy");

            Assert.IsNull(result);
        }
Beispiel #2
0
        public void GetUserByName_UserExists_Success()
        {
            UserDTO result = UserLogics.GetUserByName(userName);

            Assert.AreEqual(result.UserName, userName);
        }