Пример #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();
        }