示例#1
0
        public void EqualsOther_ReturnsTrue_WhenIdsAreEqual_AndOtherIsProxied()
        {
            const long id     = long.MaxValue - 4;
            var        entity = new FakeEntityWithLongId(id);
            var        other  = new FakeProxiedEntityWithLongId(id);

            entity.Equals(other).ShouldBeTrue();
        }
示例#2
0
        public void EqualsOther_ReturnsTrue_WhenIdsAreEqual_AndOtherIsProxied()
        {
            const long id = long.MaxValue - 4;
            var entity = new FakeEntityWithLongId(id);
            var other = new FakeProxiedEntityWithLongId(id);

            entity.Equals(other).ShouldBeTrue();
        }