mocks activate/deactivate links