public void DoisUnauthorizedResultIguaisDevemRetornarEqualIgualATrue() { UnauthorizedResult resultDest = new UnauthorizedResult("message"); UnauthorizedResult resultSource = new UnauthorizedResult("message"); Assert.IsTrue(resultDest.Equals(resultSource)); }
public void DoisUnauthorizedResultDiferentesDevemRetornarEqualIgualAFalse() { UnauthorizedResult resultDest = new UnauthorizedResult("message"); UnauthorizedResult resultSource = new UnauthorizedResult("other message"); Assert.IsFalse(resultDest.Equals(resultSource)); }