Exemplo 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());
        }
Exemplo n.º 2
0
 public void ResetPasswordStepOne(ResetPasswordStepOneRequest resetPasswordStepOneRequest)
 {
     _resetPasswordStepOneHandler.Handle(resetPasswordStepOneRequest);
 }