def METHOD_NAME(tmp_path):
    file_path = tmp_path / "my-attachment.txt"
    new_file_path = counter_duplicate_path(file_path)
    assert new_file_path == file_path
    file_path.write_text("some data")
    new_file_path = counter_duplicate_path(file_path)
    assert new_file_path != file_path
    assert new_file_path.name == "my-attachment-2.txt"
    new_file_path.write_text("some data 2")
    newest_file_path = counter_duplicate_path(file_path)
    assert newest_file_path.name == "my-attachment-3.txt"