public void DoisForbiddenResultIguaisDevemRetornarEqualIgualATrue() { ForbiddenResult resultDest = new ForbiddenResult("message"); ForbiddenResult resultSource = new ForbiddenResult("message"); Assert.IsTrue(resultDest.Equals(resultSource)); }
public void DoisForbiddenResultDiferentesDevemRetornarEqualIgualAFalse() { ForbiddenResult resultDest = new ForbiddenResult("message"); ForbiddenResult resultSource = new ForbiddenResult("other message"); Assert.IsFalse(resultDest.Equals(resultSource)); }