public void EqualsWithDifferentIdsInSubclassReturnsFalse()
        {
            var obj1 = new SimpleDomainObject();
            var obj2 = new SubSimpleDomainObject();

            obj1.SetId(1);
            obj2.SetId(2);

            bool equality = Equals(obj1, obj2);
            Assert.AreEqual(false, equality);
        }
        public void EqualsWithSameIdsInSubclassReturnsTrue()
        {
            var obj1 = new SimpleDomainObject();
            var obj2 = new SubSimpleDomainObject();

            obj1.SetId(1);
            obj2.SetId(1);

            bool equality = Equals(obj1, obj2);
            Assert.AreEqual(true, equality);
        }