public void PopulateFields()
        {
            _info.AddValue("<tp>Field1", 5);
            _info.AddValue("<tp>_field4", 6);

            ReflectionSerializationHelper.PopulateFields(_info, _instance);

            Assert.That(_instance.Field1, Is.EqualTo(5));
            Assert.That(PrivateInvoke.GetNonPublicField(_instance, "_field4"), Is.EqualTo(6));
        }
        public void AddFieldValues()
        {
            _instance.Field1 = 7;
            PrivateInvoke.SetNonPublicField(_instance, "_field4", 8);

            ReflectionSerializationHelper.AddFieldValues(_info, _instance);

            Assert.That(_info.MemberCount, Is.EqualTo(2));
            Assert.That(_info.GetValue("<tp>Field1", typeof(int)), Is.EqualTo(7));
            Assert.That(_info.GetValue("<tp>_field4", typeof(int)), Is.EqualTo(8));
        }