def METHOD_NAME(make_stubber, error_code):
    auditmanager_client = boto3.client('auditmanager')
    auditmanager_stubber = make_stubber(auditmanager_client)
    report = AuditReport(auditmanager_client)
    assessment_uuid = uuid.UUID('f66e7fc4-baf1-4661-85db-f6ff6ee76630')
    folder_id = f'folder-{"1"*36}'
    auditmanager_stubber.stub_associate_assessment_report_evidence_folder(
        str(assessment_uuid), folder_id, error_code=error_code)
    if error_code is None:
        report.add_folder_to_staging(assessment_uuid, [folder_id])
    else:
        with pytest.raises(ClientError) as exc_info:
            report.add_folder_to_staging(assessment_uuid, [folder_id])
        assert exc_info.value.response['Error']['Code'] == error_code