public void CallingHasEndorsementReturnsTrueWhenTheUserHasTheEndorsementByReference() { // Arrange var endorsement = new EndorsementBuilder().Build(); var user = new UserBulider().AddEndorsement(endorsement).Build(); // Assert Assert.IsTrue(user.HasEndorsement(endorsement)); }
public void CallingHasEndorsementReturnsFalseWhenTheUserDoesNotHaveTheEndorsement() { // Arrange var endorsement = new EndorsementBuilder().Build(); var user = new UserBulider().Build(); // Assert Assert.IsFalse(user.HasEndorsement(endorsement)); }