public void Count_Fact()
        {
            var parent = new FakeObject(1, "Parent");

            var child = new FakeObject(2, "Child");

            var ctx = new FakeContext(parent);

            ctx.AddEntity(child);

            ctx.Count.Should().Be(1);
        }
        public void Contains_Id_Fact()
        {
            var parent = new FakeObject(1, "Parent");

            var child = new FakeObject(2, "Child");

            var ctx = new FakeContext(parent);

            ctx.AddEntity(child);

            ctx.Contains(2).Should().BeTrue();
        }
        public void GetEntity_Fact()
        {
            var parent = new FakeObject(1, "Parent");

            var child = new FakeObject(2, "Child");

            var ctx = new FakeContext(parent);

            ctx.AddEntity(child);

            var result = ctx.GetEntity(2);

            result.Should().Be(child);
        }