def METHOD_NAME(
    self, tmp_work_path, build_packages, build_snaps, required_grade
):
    global_state = GlobalState()
    global_state.append_build_packages(build_packages)
    global_state.append_build_snaps(build_snaps)
    assert global_state.get_build_packages() == build_packages
    assert global_state.get_build_snaps() == build_snaps
    global_state.append_build_packages(build_packages)
    global_state.append_build_snaps(build_snaps)
    assert global_state.get_build_packages() == build_packages
    assert global_state.get_build_snaps() == build_snaps