public void IntegerCollection_EmptyCollectionTest()
        {
            var machine = GetSerializer <ClassWithNumericCollections>();
            var source  = new ClassWithNumericCollections {
                IntegerCollection = new Collection <int>()
            };
            string packed   = machine.Serialize(source);
            var    unpacked = machine.Deserialize(packed);

            unpacked.Should().NotBeNull();
            unpacked.IntegerCollection.Should().Equal(new List <int>());
        }
        public void IntegerCollection_NullTest()
        {
            var machine = GetSerializer <ClassWithNumericCollections>();
            var source  = new ClassWithNumericCollections {
                IntegerCollection = null
            };
            string packed   = machine.Serialize(source);
            var    unpacked = machine.Deserialize(packed);

            unpacked.Should().NotBeNull();
            unpacked.IntegerCollection.Should().BeNull();
        }