public void ResetPasswordTest_if_EnablePasswordReset_is_not_enabled_throws_exception() { //Arrange var config = CreateConfigFake(); config["enablePasswordReset"] = "false"; _provider.Initialize(config["applicationName"], config); //Act and Assert _provider.ResetPassword(null, null); }
public string ResetPassword(string username, string passwordAnswer) { return(_provider.ResetPassword(username, passwordAnswer)); }