Ejemplo n.º 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();
        }
Ejemplo n.º 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();
        }