public When_created_based_on_object_with_abstract_properties_with_type_information()
        {
            obj = new ClassWithAbstractProperties()
            {
                Ref = new A(),
                Value1 = "the value's pay load",
                Value2 = 222,
                Value3 = new object(),
                Value4 = new byte[] { 1, 22, 0, 44 },
            };

            var mapper = new DynamicObjectMapper();

            dynamicObject = mapper.MapObject(obj);
        }
        public When_mapping_to_custom_dynamic_object()
        {
            source = new A
            {
                B = new B
                {
                    C = new C
                    {
                        Int32Value = Int32Value
                    }
                }
            };

            source.B.A = source;
            source.B.C.A = source;

            var mapper = new DynamicObjectMapper(dynamicObjectFactory: new DynamicObjectFactory());

            dynamicObject = mapper.MapObject(source);
        }