public void ShouldNotThrowWhenEqualsImplementationIsTransitive(EqualsTransitiveAssertion sut)
 {
     var exception =
         Record.Exception(
             () =>
                 sut.Verify(typeof (TransitiveEqualsExample).GetMethod("Equals",
                     BindingFlags.Public | BindingFlags.Instance)));
     Assert.Null(exception);
 }
        public void ShouldExceptionMessageContainTypeName(EqualsTransitiveAssertion sut)
        {
            var exception =
                Record.Exception(
                    () =>
                        sut.Verify(typeof (NotTransitiveEqualsExample).GetMethod("Equals",
                            BindingFlags.Public | BindingFlags.Instance)));

            Assert.Contains(typeof (NotTransitiveEqualsExample).Name, exception.Message);
        }