def METHOD_NAME(self):
    # This check is picked up by the checkIdAvailable, unless we don't have
    # the "Add portal content" permission, in which case it is picked up by
    # the final hasattr check.
    self.folder.manage_permission("Add portal content", [], acquire=0)
    self.folder._setObject("foo", dummy.Item("foo"))
    r = check_id(self.folder.foo, "portal_catalog")
    self.assertEqual(r, "portal_catalog is reserved.")