public void ClassTest()
        {
            var finder   = new DescribersFinder(typeof(int), typeof(TestClassB));
            var provider = new DescriberProvider(finder.KeyDescriber, finder);

            var ser   = new Serializer(provider);
            var testb = new TestClassB();

            testb.Data = 1234;
            var buffer = ser.ObjectToBuffer(testb);
            var value  = ser.BufferToObject(buffer) as TestClassB;

            NUnit.Framework.Assert.AreEqual(testb.Data, value.Data);
        }
        public void ClassTest()
        {
            DescribersFinder  finder   = new DescribersFinder(typeof(int), typeof(TestClassB));
            DescriberProvider provider = new DescriberProvider(finder.KeyDescriber, finder);

            Serializer ser   = new Serializer(provider);
            TestClassB testb = new TestClassB();

            testb.Data = 1234;
            byte[]     buffer = ser.ObjectToBuffer(testb);
            TestClassB value  = ser.BufferToObject(buffer) as TestClassB;

            Xunit.Assert.Equal(testb.Data, value.Data);
        }