public void VerifyWellBehavedEqualityComparerDoesNotThrow()
        {
            // Arrange
            var dummyComposer = new Fixture();
            var sut           = new EqualityComparerEqualsNullNullAssertion(dummyComposer);

            // Act & Assert
            Assert.Null(Record.Exception(() =>
                                         sut.Verify(typeof(WellBehavedEqualityComparer))));
        }
        public void VerifyIllBehavedEqualityComparerThrows()
        {
            // Arrange
            var dummyComposer = new Fixture();
            var sut           = new EqualityComparerEqualsNullNullAssertion(dummyComposer);

            // Act & Assert
            Assert.Throws <EqualityComparerImplementationException>(() =>
                                                                    sut.Verify(typeof(IllBehavedEqualityComparer)));
        }
        public void VerifyNullMethodThrows()
        {
            // Arrange
            var dummyComposer = new Fixture();
            var sut           = new EqualityComparerEqualsNullNullAssertion(dummyComposer);

            // Act & Assert
            Assert.Throws <ArgumentNullException>(() =>
                                                  sut.Verify((MethodInfo)null));
        }