def METHOD_NAME(self, api_id, resources, error_code=None):
    expected_params = {'restApiId': api_id}
    response = {'items': resources}
    self._stub_bifurcator(
        'get_resources', expected_params, response, error_code=error_code)