Esempio n. 1
0
        public void NothingShouldHappenIfEmailIsNotFound()
        {
            ResetPasswordStepOneRequest request = new ResetPasswordStepOneRequest
            {
                Email = "asdf"
            };

            _resetPasswordStepOneHandler.Handle(request);

            BodyFitTrackerContext bodyFitTrackerContext = DatabaseConnectionFactory.GetInMemoryDatabase(false);

            Assert.AreEqual(0, bodyFitTrackerContext.PasswordResets.Count());
        }
Esempio n. 2
0
 public void ResetPasswordStepOne(ResetPasswordStepOneRequest resetPasswordStepOneRequest)
 {
     _resetPasswordStepOneHandler.Handle(resetPasswordStepOneRequest);
 }