private static void AssertNotEqual(TestValue value1, TestValue value2)
 {
     Assert.AreNotEqual(value1, value2);
     Assert.IsTrue(value1 != value2);
     Assert.IsFalse(value1 == value2);
     Assert.IsFalse(value1.Equals(value2));
 }
        public void Equals_ComparingWithNull_ReturnsFalse()
        {
            var value = new TestValue {
                Property1 = "string"
            };

            Assert.IsFalse(value.Equals(null as object));
        }