code: def test_marshal_nested_property(self):
      class TestObject(object):
          @property
          def fee(self):
              return {"blah": "cool"}
  
      model = OrderedDict(
          [
              ("foo", fields.Raw),
              (
                  "fee",
                  fields.Nested(
                      OrderedDict(
                          [
                              ("fye", fields.String),
                              ("blah", fields.String),
                          ]
                      ),
                      allow_null=True,
                  ),
              ),
          ]
      )
      obj = TestObject()
      obj.foo = "bar"
      obj.bat = "baz"
      output = marshal([obj], model)
      expected = [
          OrderedDict(
              [
                  ("foo", "bar"),
                  (
                      "fee",
                      OrderedDict([("fye", None), ("blah", "cool")]),
                  ),
              ]
          )
      ]
      assert output == expected
  
imports: from __future__ import unicode_literals
  import pytest
  from flask_restplus import marshal, marshal_with, marshal_with_field, fields, Api, Resource
label_desc: Use image node_id 27 for calling the MarshallingTest obj's underlying member method code with example usage: obj.test_marshal_nested_property() and returns: dict