def METHOD_NAME(self):
    # this just passes through to the db method, so test that
    rv = defer.succeed(None)
    self.master.db.projects.find_project_id = mock.Mock(return_value=rv)
    self.assertIdentical(self.rtype.find_project_id('foo'), rv)