public void HasExpired_WithExpireTimeBeingCurrentTime_IsFalse() { var sut = new PetrisPizzeriaMembership(Guid.Empty, new DateTime(2020, 2, 1)); var actual = sut.HasExpired(); Assert.IsFalse(actual); }
public void HasExpired_WithExpireTimeBeingPassed_IsTrue() { var sut = new PetrisPizzeriaMembership(Guid.Empty, new DateTime(2020, 4, 1)); var actual = sut.HasExpired(); Assert.IsTrue(actual); }
public void HasExpired_WithExpireTimeNotSet_IsFalse() { var sut = new PetrisPizzeriaMembership(Guid.Empty, null); var actual = sut.HasExpired(); Assert.IsFalse(actual); }