public void PacksPrivatePropertyCorrectly()
            {
                var toPack = new SimpleClassWithPrivateProperty {A = true};
                toPack.SetB(true);
                var expected = new List<byte> { 0xA2, 0x81, 0x42, Markers.True, 0x81, 0x41, Markers.True };


                var actual = Packers.Map.Pack(toPack);
                actual.Should().Equal(expected);
            }
            public void PacksPrivatePropertyCorrectly()
            {
                var toPack = new SimpleClassWithPrivateProperty {
                    A = true
                };

                toPack.SetB(true);
                var expected = new List <byte> {
                    0xA2, 0x81, 0x42, Markers.True, 0x81, 0x41, Markers.True
                };


                var actual = Packers.Map.Pack(toPack);

                actual.Should().Equal(expected);
            }
            public void PacksPrivatePropertyCorrectly()
            {
                var expected = new SimpleClassWithPrivateProperty {
                    A = true
                };

                expected.SetB(true);
                var toUnpack = new List <byte> {
                    0xA2, 0x81, 0x42, Markers.True, 0x81, 0x41, Markers.True
                };


                var actual = Packers.Map.Unpack <SimpleClassWithPrivateProperty>(toUnpack.ToArray());

                actual.ShouldBeEquivalentTo(expected);
            }
            public void PacksPrivatePropertyCorrectly()
            {
                var expected = new SimpleClassWithPrivateProperty { A = true };
                expected.SetB(true);
                var toUnpack = new List<byte> { 0xA2, 0x81, 0x42, Markers.True, 0x81, 0x41, Markers.True };


                var actual = Packers.Map.Unpack<SimpleClassWithPrivateProperty>(toUnpack.ToArray());
                actual.ShouldBeEquivalentTo(expected);
            }