public void DoesntTriggerIfNotComparesEqual()
        {
            var hint = new MethodEqualsInsteadOfOperatorEqualsHint();

            Expression<Func<bool>> exp = () => new NeverEqual() == new NeverEqual();

            string description;
            Assert.IsFalse(hint.TryGetHint(exp.Body, out description));
            Assert.IsNull(description);
        }
        public void TriggersIfComparesEqual()
        {
            var hint = new MethodEqualsInsteadOfOperatorEqualsHint();

            Expression<Func<bool>> exp = () => new AlwaysEqual() == new AlwaysEqual();

            string description;
            Assert.IsTrue(hint.TryGetHint(exp.Body, out description));
            Assert.IsNotNull(description);
        }