def METHOD_NAME(mocker, paramsDict, expected):
    mocker.patch("DIRAC.TransformationSystem.Client.TaskManagerPlugin.getSitesForSE", side_effect=ourgetSitesForSE)
    res = wfTasks._handleDestination(paramsDict)
    assert sorted(res) == sorted(expected)