public void GetUserByEmail_UserNotExist_Invalid() { UserDTO result = UserLogics.GetUserByEmail("xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"); Assert.IsNull(result); }
public void GetUserByEmail_UserExists_Success() { UserDTO result = UserLogics.GetUserByEmail(userEmail); Assert.AreEqual(result.Id, userId); }