Refactor testGetWorkspaceSwitchLinks() to call WorkspaceManager::getWorkspaceSwitchLinks().