public void IsValid_ShouldReturnTrue_WhenPasswordIsValid() { var password = "******"; var hash = _passwordHasher.HashPassword(Arg.Any <IPasswordHandler>(), password); var result = _sut.IsValid(hash, password); result.ShouldBeTrue(); }
public void IsValid_ShouldReturnTrue_WhenPasswordIsValid() { var password = "******"; var hash = _passwordHasher.HashPassword(Arg.Any <IPasswordHandler>(), password); var result = _sut.IsValid(hash, password); result.ShouldBeTrue(); }