コード例 #1
0
        public void ResetPasswordConfirmation_WhenCalled_DisplaysView()
        {
            AccountController controller = new AccountController(userManager: null, signInManager: null, stripeService: null);

            var result = controller.ResetPasswordConfirmation() as ViewResult;

            Assert.That(result != null);
            Assert.That(result.ViewName, Is.Empty.Or.EqualTo("ResetPasswordConfirmation"));
        }