def METHOD_NAME(self, url, arn, error_code=None):
    expected_params = {'AttributeNames': ['All'], 'QueueUrl': url}
    response = {'Attributes': {'QueueArn': arn}}
    self._stub_bifurcator(
        'get_queue_attributes', expected_params, response, error_code=error_code)