def METHOD_NAME(library):
    library.add_file(str(RESOURCES / "file1.txt"))
    assert len(library.elements) == 1
    assert library.elements[0] == {
        "type": "file",
        "value": str(RESOURCES / "file1.txt"),
        "label": None,
    }