def METHOD_NAME(launch_mock, launch_add_mock):
    wandb_resource_mock = MagicMock()
    context = build_op_context(
        config={
            "queue": LAUNCH_QUEUE,
        },
        resources={
            "wandb_config": {"entity": WANDB_ENTITY, "project": WANDB_PROJECT},
            "wandb_resource": wandb_resource_mock,
        },
    )
    run_launch_job(context)
    assert launch_mock.run.call_count == 0
    launch_add_mock.assert_called_with(
        entity=WANDB_ENTITY, project=WANDB_PROJECT, queue=LAUNCH_QUEUE
    )
    assert launch_add_mock.return_value.wait_until_finished.call_count == 1