Пример #1
0
        public void AddPasswordRequestDomainValidationExceptionDeactivatedTest()
        {
            _forgottenPassword.Deactivate();

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

            Assert.AreEqual(true, _forgottenPassword.Used);
        }