public void AddPasswordRequestDomainValidationExceptionDeactivatedTest() { _forgottenPassword.Deactivate(); Assert.Throws <DomainValidationException>(() => { _user.AddPasswordResetRequest(_forgottenPassword, 5); }); }
public void DeactivateTest() { _forgottenPassword.Deactivate(); Assert.AreEqual(true, _forgottenPassword.Used); }