'Test creating a field with a field name that would override
the "validate" method.'

def test_override_method_with_field(self):

    with self.assertRaises(InvalidDocumentError):
        class Blog(Document, ):
            validate = DictField()
