public void GetUserByName_UserNotExist_Invalid() { UserDTO result = UserLogics.GetUserByName("xxxxxxxxxxxxxxxxqqqwwwzzzzyyyyyyyyyy"); Assert.IsNull(result); }
public void GetUserByName_UserExists_Success() { UserDTO result = UserLogics.GetUserByName(userName); Assert.AreEqual(result.UserName, userName); }