def METHOD_NAME(self):
    # check_id should not bomb out if the portal_catalog tool is missing
    self.portal._delObject("portal_catalog")
    r = check_id(self.folder, "foo")
    self.assertEqual(r, None)  # success