def test_complex_complex_schema_item_definition(self):
        complex_obj = copy.deepcopy(self.complex_obj)
        expected_def = {
            "type": "object",
            "title": "ComplexComplexSchemaItem",
            "properties": {
                "hungry": {
                    "type": "boolean",
                    "title": "Hungry",
                    "description": "Are you hungry?",
                },
                "complex_item": {
                    "type": "object",
                    "$ref": "#/definitions/test_definition",
                },
            },
            "required": ["hungry"],
        }
        self.assertDictEqual(complex_obj.get_definition(), expected_def)