def test_complex_complex_schema_item_inner_thirsty_invalid(self):
        serialized = self.complex_schema.serialize()
        with self.assertRaises(jsonschema.exceptions.ValidationError) as excinfo:

            jsonschema.validate(
                {
                    "complex_complex_item": {
                        "hungry": True,
                        "complex_item": {"thirsty": "Bar"},
                    }
                },
                serialized,
            )
        expected = "'Bar' is not of type 'boolean'"
        self.assertIn(expected, excinfo.exception.message)