public void ReferenceProperty_FIX_RemoveBrokenItemsWhenOverwrite()
        {
            Test(true, () =>
            {
                // Prerequisite
                Assert.AreEqual(User.Administrator.Id, User.Current.Id);

                // ARRANGE
                var group = new Group(Node.LoadNode("/Root/IMS/Public"))
                {
                    Name = "G1"
                };
                var user1 = _factory.CreateUserAndSave("U1");
                var user2 = _factory.CreateUserAndSave("U2");
                group.AddReferences("Members", new[] { user1 });
                group.Save();
                user1.ForceDelete();

                // ACTION
                group         = Node.Load <Group>(group.Id);
                group.Members = new[] { user2 };
                group.Save();

                // ASSERT
                group      = Node.Load <Group>(group.Id);
                var actual = string.Join("", group.Members.Select(x => x.Id.ToString()));
                Assert.AreEqual($"{user2.Id}", actual);
            });
        }