Exemplo n.º 1
0
        public void GetHashCodeWorksAsExpected()
        {
            // --- Arrange
            var chain = new AspectChain(new DummyAspect(1), new DummyAspect(2));

            // --- Act
            var hashCode = chain.GetHashCode();

            // --- Assert
            hashCode.ShouldNotEqual(0);
        }
Exemplo n.º 2
0
        public void GetHashCodeWorksAsExpected()
        {
            // --- Arrange
            var chain = new AspectChain(new DummyAspect(1), new DummyAspect(2));

            // --- Act
            var hashCode = chain.GetHashCode();

            // --- Assert
            hashCode.ShouldNotEqual(0);
        }