def test_complex_schema_item_serialize(self):
        obj = copy.deepcopy(self.obj)
        expected_serialized = {"$ref": "#/definitions/ComplexSchemaItem"}
        self.assertDictEqual(obj.serialize(), expected_serialized)