public void ExpentdTypeTest()
        {
            var val  = new _sub().Init();
            var buf  = BssomSerializer.Serialize(val, BssomSerializerOptions.DefaultAllowPrivate);
            var val2 = BssomSerializer.Deserialize <_sub>(buf, BssomSerializerOptions.DefaultAllowPrivate);

            val.Equals(val2).IsTrue();
        }
        public void ExtensionTypeAllowPrivate_FormatterIsCorrectly()
        {
            var val  = new _sub().Init();
            var ary3 = VerifyHelper.ConvertArray3ObjectAndVerifyEntity(val, BssomSerializerOptions.IntKeyCompositedAllowPrivateResolverOption);

            ary3.Count.Is(5);
            ary3.GetObject(0).Equals(val.A1).IsTrue();
            ary3.GetObject(1).Equals(val.B1).IsTrue();
            ary3.GetObject(2).Equals(val.C1).IsTrue();
            ary3.GetObject(3).Equals(val.D).IsTrue();
            ary3.GetObject(4).Equals(val.E).IsTrue();
        }