def METHOD_NAME(
    data_regression, workspace, cases, libspec_manager, workspace_dir
):
    from robotframework_ls.impl.completion_context import CompletionContext
    from robotframework_ls.impl import library_names_completions
    cases.copy_to("case1", workspace_dir)
    workspace.set_root(workspace_dir, libspec_manager=libspec_manager)
    doc = workspace.put_doc("case1.robot")
    doc.source = """*** Settings ***