def METHOD_NAME(
    github_pr_synchronized_approvers_controller: GithubController, mocker: MockerFixture
):
    controller = github_pr_synchronized_approvers_controller
    controller._context._state_sync = mock_state_sync = mocker.MagicMock()
    controller.delete_pr_environment()
    mock_state_sync.invalidate_environment.assert_called_once_with("hello_world_2")