public void ConfirmAndRefresh_ContainsItem_UpdatesTimeoutAndReturnsTrue() { // Setup _uut.AddOrUpdate(UserThree, UserThreePassword); Thread.Sleep(5000); // Act var confirmed = _uut.ConfirmAndRefresh(UserThree, UserThreePassword); // Assert var updatedDateTime = _uut.ExpirationStamps[UserThree]; Assert.That(confirmed); Assert.That(TimeStampIsUpdatedAccordingToNow(updatedDateTime)); }