def METHOD_NAME(self):
    self.assertIsInstance(Owned.owner, db.ReferenceField)
    self.assertEqual(Owned.owner.document_type_obj, User)
    self.assertIsInstance(Owned.organization, db.ReferenceField)
    self.assertEqual(Owned.organization.document_type_obj, Organization)