def METHOD_NAME(mocker):
    mock_agency = mocker.Mock()
    mock_agency.index_url = "/agency"
    mocker.patch("benefits.core.session.agency", return_value=mock_agency)
    mocker.patch("benefits.core.session.active_agency", return_value=True)
    return mock_agency