void UpdateSeparationTest(ISerializeWrapper serializer)
        {
            var collection = new CRUDCollection <TestPerson>(new List <TestPerson>());
            var id         = collection.Create(new TestPerson());

            collection.Update(id, record => record.IsChecked = true);
            var graph = collection.Read(id);

            Assert.AreEqual(false, graph.IsChecked);
        }
        void UpdateTest(ISerializeWrapper serializer)
        {
            const string personName      = "Taro Yamada";
            const string finalPersonName = "Hanako Yamada";

            var collection = new CRUDCollection <TestPerson>(new List <TestPerson>());
            var id         = collection.Create(new TestPerson()
            {
                Name = personName
            });

            collection.Update(id, record => record.Name = finalPersonName);
            var graph = collection.Read(id);

            Assert.AreEqual(finalPersonName, graph.Name);
        }