def METHOD_NAME(self, queue_url, attributes, error_code=None):
    expected_params = {'QueueUrl': queue_url, 'Attributes': attributes}
    self._stub_bifurcator(
        'set_queue_attributes', expected_params, error_code=error_code)