Ejemplo n.º 1
0
        public void DummyHasher_Should_Always_Throw()
        {
            var hasher = new Null();

            Assert.Throws <InvalidOperationException>(() => hasher.Digest(new byte[23], null));
            Assert.Throws <InvalidOperationException>(() => hasher.Digest(null, null));
        }