예제 #1
0
        public void should_hash_and_verify()
        {
            var pw     = _fixture.Create <string>();
            var hashed = _sut.Hash(pw);

            hashed.Should().NotBeNullOrEmpty();
            hashed.Should().NotBe(pw);

            _sut.Verify(hashed, pw).Should().BeTrue();
        }