Home
last modified time | relevance | path

Searched refs:SUB_ID (Results 1 – 25 of 69) sorted by relevance

123

/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/network/
DMobileNetworkUpdateManagerTest.java49 private static final int SUB_ID = 1; field in MobileNetworkUpdateManagerTest
69 setupMobileNetworkUpdateManager(SUB_ID); in onStart_receiverRegistered()
88 setupMobileNetworkUpdateManager(SUB_ID); in onStop_receiverUnregistered()
109 setupMobileNetworkUpdateManager(SUB_ID); in onStart_subscriptionListenerRegistered()
118 setupMobileNetworkUpdateManager(SUB_ID); in onStop_subscriptionListenerUnregistered()
129 setupMobileNetworkUpdateManager(SUB_ID); in onMobileNetworkUpdated_withInitialSubId_pickSubId()
131 createSubscriptionInfo(SUB_ID + 1), createSubscriptionInfo(SUB_ID + 2)); in onMobileNetworkUpdated_withInitialSubId_pickSubId()
134 verify(mMobileNetworkUpdateListener).onMobileNetworkUpdated(SUB_ID); in onMobileNetworkUpdated_withInitialSubId_pickSubId()
141 createSubscriptionInfo(SUB_ID + 1), createSubscriptionInfo(SUB_ID + 2)); in onMobileNetworkUpdated_withoutInitialSubId_pickDefaultSubId()
144 verify(mMobileNetworkUpdateListener).onMobileNetworkUpdated(SUB_ID + 1); in onMobileNetworkUpdated_withoutInitialSubId_pickDefaultSubId()
DMobileDataTogglePreferenceControllerTest.java61 private static final int SUB_ID = 1; field in MobileDataTogglePreferenceControllerTest
79 getShadowTelephonyManager().setTelephonyManagerForSubscriptionId(SUB_ID, mTelephonyManager); in setUp()
80 mController.setSubId(SUB_ID); in setUp()
109 Settings.Global.getUriFor(Settings.Global.MOBILE_DATA + SUB_ID))).isNotEmpty(); in onStart_multiSim_registersObserver()
125 createSubscriptionInfo(SUB_ID, /* isOpportunistic= */ true)); in refreshUi_isOpportunistic_isDisabled()
134 createSubscriptionInfo(SUB_ID, /* isOpportunistic= */ false)); in refreshUi_isNotOpportunistic_isEnabled()
211 ShadowSubscriptionManager.setDefaultDataSubscriptionId(SUB_ID); in handlePreferenceChanged_setTrue_isMultiSim_noOtherSimActive_enablesData()
212 getShadowSubscriptionManager().setCurrentActiveSubscriptionId(SUB_ID); in handlePreferenceChanged_setTrue_isMultiSim_noOtherSimActive_enablesData()
223 ShadowSubscriptionManager.setDefaultDataSubscriptionId(SUB_ID); in handlePreferenceChanged_setTrue_isMultiSim_noOtherSimActive_setsChecked()
224 getShadowSubscriptionManager().setCurrentActiveSubscriptionId(SUB_ID); in handlePreferenceChanged_setTrue_isMultiSim_noOtherSimActive_setsChecked()
[all …]
DMobileNetworkFragmentTest.java47 private static final int SUB_ID = 1; field in MobileNetworkFragmentTest
69 setUpFragmentWithSubId(SUB_ID, TEST_NAME); in onMobileNetworkUpdated_startWithArgument_updateTitle()
71 Collections.singletonList(createSubscriptionInfo(SUB_ID, TEST_NAME))); in onMobileNetworkUpdated_startWithArgument_updateTitle()
73 createSubscriptionInfo(SUB_ID + 1, TEST_NAME + "_1"), in onMobileNetworkUpdated_startWithArgument_updateTitle()
74 createSubscriptionInfo(SUB_ID + 2, TEST_NAME + "_2")); in onMobileNetworkUpdated_startWithArgument_updateTitle()
86 Collections.singletonList(createSubscriptionInfo(SUB_ID, TEST_NAME))); in onMobileNetworkUpdated_noArgumentProvided_updateTitle()
88 createSubscriptionInfo(SUB_ID + 1, TEST_NAME + "_1"), in onMobileNetworkUpdated_noArgumentProvided_updateTitle()
89 createSubscriptionInfo(SUB_ID + 2, TEST_NAME + "_2")); in onMobileNetworkUpdated_noArgumentProvided_updateTitle()
DRoamingPreferenceControllerTest.java62 private static final int SUB_ID = 1; field in RoamingPreferenceControllerTest
79 getShadowTelephonyManager().setTelephonyManagerForSubscriptionId(SUB_ID, mTelephonyManager); in setUp()
80 mController.setSubId(SUB_ID); in setUp()
105 Settings.Global.getUriFor(Settings.Global.DATA_ROAMING + SUB_ID))).isNotEmpty(); in onStart_registerObserver_additionalSubId()
170 getShadowCarrierConfigManager().setConfigForSubId(SUB_ID, bundle); in callChangeListener_toggleTrue_needsDialog_showDialog()
184 getShadowCarrierConfigManager().setConfigForSubId(SUB_ID, bundle); in confirmDialog_turnOnRoaming()
209 getShadowCarrierConfigManager().setConfigForSubId(SUB_ID, bundle); in callChangeListener_toggleTrue_doesntNeedDialog_turnOnRoaming()
/packages/apps/Settings/tests/robotests/src/com/android/settings/network/telephony/
DMobileDataPreferenceControllerTest.java51 private static final int SUB_ID = 2; field in MobileDataPreferenceControllerTest
78 doReturn(mTelephonyManager).when(mTelephonyManager).createForSubscriptionId(SUB_ID); in setUp()
85 ShadowSubscriptionManager.setDefaultDataSubscriptionId(SUB_ID); in setUp()
86 mController.init(mFragmentManager, SUB_ID); in setUp()
100 doReturn(mSubscriptionInfo).when(mSubscriptionManager).getActiveSubscriptionInfo(SUB_ID); in isDialogNeeded_disableSingleSim_returnFalse()
109 doReturn(mSubscriptionInfo).when(mSubscriptionManager).getActiveSubscriptionInfo(SUB_ID); in isDialogNeeded_enableNonDefaultSimInMultiSimMode_returnTrue()
131 doReturn(mSubscriptionInfo).when(mSubscriptionManager).getActiveSubscriptionInfo(SUB_ID); in onPreferenceChange_singleSim_On_shouldEnableData()
142 doReturn(mSubscriptionInfo).when(mSubscriptionManager).getActiveSubscriptionInfo(SUB_ID); in onPreferenceChange_multiSim_On_shouldEnableData()
152 mController.init(mFragmentManager, SUB_ID); in isChecked_returnUserDataEnabled()
161 doReturn(mSubscriptionInfo).when(mSubscriptionManager).getActiveSubscriptionInfo(SUB_ID); in updateState_opportunistic_disabled()
[all …]
DEnabledNetworkModePreferenceControllerTest.java62 private static final int SUB_ID = 2; field in EnabledNetworkModePreferenceControllerTest
93 doReturn(mTelephonyManager).when(mTelephonyManager).createForSubscriptionId(SUB_ID); in setUp()
100 doReturn(mPersistableBundle).when(mCarrierConfigManager).getConfigForSubId(SUB_ID); in setUp()
105 mController.init(mLifecycle, SUB_ID); in setUp()
162 mController.init(mLifecycle, SUB_ID); in updateState_5gWorldPhone_GlobalHasNr()
177 mController.init(mLifecycle, SUB_ID); in updateState_selectedOn5gItem()
179 Settings.Global.PREFERRED_NETWORK_MODE + SUB_ID, in updateState_selectedOn5gItem() local
194 mController.init(mLifecycle, SUB_ID); in updateState_disAllowed5g_5gOptionHidden()
196 Settings.Global.PREFERRED_NETWORK_MODE + SUB_ID, in updateState_disAllowed5g_5gOptionHidden() local
212 mController.init(mLifecycle, SUB_ID); in updateState_disAllowed5g_selectOn4gOption()
[all …]
DApnPreferenceControllerTest.java51 private static final int SUB_ID = 2; field in ApnPreferenceControllerTest
73 doReturn(mTelephonyManager).when(mTelephonyManager).createForSubscriptionId(SUB_ID); in setUp()
80 mController.init(SUB_ID); in setUp()
91 doReturn(bundle).when(mCarrierConfigManager).getConfigForSubId(SUB_ID); in getAvailabilityStatus_apnSettingsNotSupported_returnUnavailable()
101 doReturn(bundle).when(mCarrierConfigManager).getConfigForSubId(SUB_ID); in getAvailabilityStatus_apnSettingsSupportedWithCDMA_returnAvailable()
111 doReturn(bundle).when(mCarrierConfigManager).getConfigForSubId(SUB_ID); in getAvailabilityStatus_apnSettingsSupportedWithGsm_returnAvailable()
119 when(mCarrierConfigManager.getConfigForSubId(SUB_ID)).thenReturn(null); in getAvailabilityStatus_carrierConfigNull_returnUnavailable()
131 doReturn(bundle).when(mCarrierConfigManager).getConfigForSubId(SUB_ID); in getAvailabilityStatus_hideCarrierNetworkSettings_returnUnavailable()
145 assertThat(intent.getIntExtra(ApnSettings.SUB_ID, 0)).isEqualTo(SUB_ID); in handPreferenceTreeClick_fireIntent()
DVideoCallingPreferenceControllerTest.java47 private static final int SUB_ID = 2; field in VideoCallingPreferenceControllerTest
74 doReturn(mTelephonyManager).when(mTelephonyManager).createForSubscriptionId(SUB_ID); in setUp()
79 doReturn(mCarrierConfig).when(mCarrierConfigManager).getConfigForSubId(SUB_ID); in setUp()
81 mQueryImsState = new MockVtQueryImsState(mContext, SUB_ID); in setUp()
84 mQueryVoLteState = new MockVolteQueryImsState(mContext, SUB_ID); in setUp()
89 mController.init(SUB_ID); in setUp()
104 assertThat(mController.isVideoCallEnabled(SUB_ID)).isTrue(); in isVideoCallEnabled_allFlagsOn_returnTrue()
112 assertThat(mController.isVideoCallEnabled(SUB_ID)).isFalse(); in isVideoCallEnabled_disabledByPlatform_returnFalse()
121 assertThat(mController.isVideoCallEnabled(SUB_ID)).isFalse(); in isVideoCallEnabled_dataDisabled_returnFalse()
DDisabledSubscriptionControllerTest.java45 private static final int SUB_ID = 111; field in DisabledSubscriptionControllerTest
67 mController.init(mLifecycle, SUB_ID); in setUp()
72 doReturn(true).when(mSubscriptionManager).isActiveSubscriptionId(SUB_ID); in displayPreference_subscriptionEnabled_categoryIsVisible()
79 doReturn(false).when(mSubscriptionManager).isActiveSubscriptionId(SUB_ID); in displayPreference_subscriptionDisabled_categoryIsNotVisible()
86 doReturn(true).when(mSubscriptionManager).isActiveSubscriptionId(SUB_ID); in onSubscriptionsChanged_subscriptionBecomesDisabled_categoryIsNotVisible()
88 doReturn(false).when(mSubscriptionManager).isActiveSubscriptionId(SUB_ID); in onSubscriptionsChanged_subscriptionBecomesDisabled_categoryIsNotVisible()
95 doReturn(false).when(mSubscriptionManager).isActiveSubscriptionId(SUB_ID); in onSubscriptionsChanged_subscriptionBecomesEnabled_categoryIsVisible()
97 doReturn(true).when(mSubscriptionManager).isActiveSubscriptionId(SUB_ID); in onSubscriptionsChanged_subscriptionBecomesEnabled_categoryIsVisible()
DMmsMessagePreferenceControllerTest.java48 private static final int SUB_ID = 2; field in MmsMessagePreferenceControllerTest
67 when(mTelephonyManager.createForSubscriptionId(SUB_ID)).thenReturn(mTelephonyManager); in setUp()
71 ShadowSubscriptionManager.setDefaultDataSubscriptionId(SUB_ID); in setUp()
72 mController.init(SUB_ID); in setUp()
87 assertThat(mController.getAvailabilityStatus(SUB_ID)).isEqualTo(CONDITIONALLY_UNAVAILABLE); in getAvailabilityStatus_mobileDataOn_returnUnavailable()
94 assertThat(mController.getAvailabilityStatus(SUB_ID)).isEqualTo(CONDITIONALLY_UNAVAILABLE); in getAvailabilityStatus_meteredOff_returnUnavailable()
99 mController.init(SUB_ID); in getAvailabilityStatus_mobileDataOffWithValidSubId_returnAvailable()
103 assertThat(mController.getAvailabilityStatus(SUB_ID)).isEqualTo(AVAILABLE); in getAvailabilityStatus_mobileDataOffWithValidSubId_returnAvailable()
DDeleteSimProfilePreferenceControllerTest.java57 private static final int SUB_ID = 1234; field in DeleteSimProfilePreferenceControllerTest
77 when(mSubscriptionInfo.getSubscriptionId()).thenReturn(SUB_ID); in setUp()
95 mController.init(SUB_ID, mFragment, REQUEST_CODE); in getAvailabilityStatus_noSubs_notAvailable()
102 mController.init(SUB_ID, mFragment, REQUEST_CODE); in getAvailabilityStatus_physicalSim_notAvailable()
109 mController.init(SUB_ID, mFragment, REQUEST_CODE); in getAvailabilityStatus_unknownSim_notAvailable()
115 mController.init(SUB_ID, mFragment, REQUEST_CODE); in getAvailabilityStatus_knownEsim_isAvailable()
121 mController.init(SUB_ID, mFragment, REQUEST_CODE); in onPreferenceClick_startsIntent()
135 SubscriptionManager.INVALID_SUBSCRIPTION_ID)).isEqualTo(SUB_ID); in onPreferenceClick_startsIntent()
DCarrierPreferenceControllerTest.java55 private static final int SUB_ID = 2; field in CarrierPreferenceControllerTest
78 doReturn(mTelephonyManager).when(mTelephonyManager).createForSubscriptionId(SUB_ID); in setUp()
85 mController.init(SUB_ID); in setUp()
95 doReturn(bundle).when(mCarrierConfigManager).getConfigForSubId(SUB_ID); in getAvailabilityStatus_cdmaWithFlagOff_returnUnavailable()
105 doReturn(bundle).when(mCarrierConfigManager).getConfigForSubId(SUB_ID); in getAvailabilityStatus_cdmaWithFlagOnreturnAvailable()
115 doReturn(bundle).when(mCarrierConfigManager).getConfigForSubId(SUB_ID); in getAvailabilityStatus_gsmWithFlagOnreturnAvailable()
126 doReturn(bundle).when(mCarrierConfigManager).getConfigForSubId(SUB_ID); in handlePreferenceClick_activityFound_openCarrierSettingActivity()
146 doReturn(bundle).when(mCarrierConfigManager).getConfigForSubId(SUB_ID); in handlePreferenceClick_activityNotFound_DoNothing()
160 doReturn(bundle).when(mCarrierConfigManager).getConfigForSubId(SUB_ID); in handlePreferenceClick_activityNotConfigured_DoNothing()
DPreferredNetworkModePreferenceControllerTest.java52 private static final int SUB_ID = 2; field in PreferredNetworkModePreferenceControllerTest
76 doReturn(mTelephonyManager).when(mTelephonyManager).createForSubscriptionId(SUB_ID); in setUp()
81 doReturn(mPersistableBundle).when(mCarrierConfigManager).getConfigForSubId(SUB_ID); in setUp()
87 mController.init(SUB_ID); in setUp()
131 Settings.Global.PREFERRED_NETWORK_MODE + SUB_ID, in updateState_updateByNetworkMode() local
151 Settings.Global.PREFERRED_NETWORK_MODE + SUB_ID, 0)).isEqualTo( in onPreferenceChange_updateSuccess() local
164 Settings.Global.PREFERRED_NETWORK_MODE + SUB_ID, 0)).isNotEqualTo( in onPreferenceChange_updateFail() local
DWifiCallingPreferenceControllerTest.java55 private static final int SUB_ID = 2; field in WifiCallingPreferenceControllerTest
79 mQueryImsState = new MockWifiCallingQueryImsState(mContext, SUB_ID); in setUp()
91 mController.init(SUB_ID); in setUp()
96 when(mController.getTelephonyManager(mContext, SUB_ID)).thenReturn(mTelephonyManager); in setUp()
99 when(mCarrierConfigManager.getConfigForSubId(SUB_ID)).thenReturn(mCarrierConfig); in setUp()
142 mController.init(SUB_ID); in updateState_wfcNonRoamingByConfig()
189 SubscriptionManager.INVALID_SUBSCRIPTION_ID)).isEqualTo(SUB_ID); in displayPreference_available_setsSubscriptionIdOnIntent()
DEnhanced4gBasePreferenceControllerTest.java48 private static final int SUB_ID = 2; field in Enhanced4gBasePreferenceControllerTest
76 doReturn(mTelephonyManager).when(mTelephonyManager).createForSubscriptionId(SUB_ID); in setUp()
81 doReturn(mCarrierConfig).when(mCarrierConfigManager).getConfigForSubId(SUB_ID); in setUp()
83 mQueryImsState = spy(new MockVolteQueryImsState(mContext, SUB_ID)); in setUp()
92 mController.init(SUB_ID); in setUp()
102 mController.init(SUB_ID); in getAvailabilityStatus_default_returnUnavailable()
DMobileDataSliceTest.java60 private static final int SUB_ID = 2; field in MobileDataSliceTest
79 doReturn(mTelephonyManager).when(mTelephonyManager).createForSubscriptionId(SUB_ID); in setUp()
81 doReturn(SUB_ID).when(mSubscriptionInfo).getSubscriptionId(); in setUp()
111 doReturn(mSubscriptionInfo).when(mSubscriptionManager).getActiveSubscriptionInfo(SUB_ID); in handleUriChange_turnedOn_updatesMobileData()
123 doReturn(mSubscriptionInfo).when(mSubscriptionManager).getActiveSubscriptionInfo(SUB_ID); in handleUriChange_turnedOff_updatesMobileData()
135 doReturn(mSubscriptionInfo).when(mSubscriptionManager).getActiveSubscriptionInfo(SUB_ID); in handleUriChange_turnedOff_airplaneModeOn_mobileDataDoesNotUpdate()
191 doReturn(mSubscriptionInfo).when(mSubscriptionManager).getActiveSubscriptionInfo(SUB_ID); in airplaneModeEnabled_slicePrimaryActionIsEmpty()
DDisableSimFooterPreferenceControllerTest.java44 private static final int SUB_ID = 111; field in DisableSimFooterPreferenceControllerTest
59 when(mInfo.getSubscriptionId()).thenReturn(SUB_ID); in setUp()
72 mController.init(SUB_ID); in isAvailable_eSIM_notAvailable()
79 mController.init(SUB_ID); in isAvailable_pSIM_available_cannot_disable_pSIM()
87 mController.init(SUB_ID); in isAvailable_pSIM_available_can_disable_pSIM()
DNrDisabledInDsdsFooterPreferenceControllerTest.java42 private static final int SUB_ID = 111; field in NrDisabledInDsdsFooterPreferenceControllerTest
74 mController.init(SUB_ID); in isAvailable_dataOnAndDsdsAnd5GSupported_Available()
84 mController.init(SUB_ID); in isAvailable_5gNotSupported_notAvailable()
94 mController.init(SUB_ID); in isAvailable_mobileDataOff_notAvailable()
104 mController.init(SUB_ID); in isAvailable_singleSimMode_notAvailable()
DDataServiceSetupPreferenceControllerTest.java53 private static final int SUB_ID = 2; field in DataServiceSetupPreferenceControllerTest
75 doReturn(mTelephonyManager).when(mTelephonyManager).createForSubscriptionId(SUB_ID); in setUp()
83 doReturn(mCarrierConfig).when(mCarrierConfigManager).getConfigForSubId(SUB_ID); in setUp()
87 mController.init(SUB_ID); in setUp()
109 mController.init(SUB_ID); in getAvailabilityStatus_missUrl_returnUnavailable()
/packages/apps/Settings/tests/robotests/src/com/android/settings/datausage/lib/
DDataUsageLibTest.java47 private static final int SUB_ID = 1; field in DataUsageLibTest
72 when(mTelephonyManager.getSubscriberId(SUB_ID)).thenReturn(SUBSCRIBER_ID); in setUp()
81 when(mSubscriptionManager.isActiveSubscriptionId(SUB_ID)).thenReturn(false); in getMobileTemplate_infoNull_returnMobileAll()
83 final NetworkTemplate networkTemplate = DataUsageLib.getMobileTemplate(mContext, SUB_ID); in getMobileTemplate_infoNull_returnMobileAll()
91 when(mSubscriptionManager.getActiveSubscriptionInfo(SUB_ID)).thenReturn(mInfo1); in getMobileTemplate_groupUuidNull_returnMobileAll()
96 final NetworkTemplate networkTemplate = DataUsageLib.getMobileTemplate(mContext, SUB_ID); in getMobileTemplate_groupUuidNull_returnMobileAll()
104 when(mSubscriptionManager.getActiveSubscriptionInfo(SUB_ID)).thenReturn(mInfo1); in getMobileTemplate_groupUuidExist_returnMobileMerged()
109 final NetworkTemplate networkTemplate = DataUsageLib.getMobileTemplate(mContext, SUB_ID); in getMobileTemplate_groupUuidExist_returnMobileMerged()
/packages/modules/IPsec/tests/iketests/src/java/android/net/eap/
DEapSessionConfigTest.java45 private static final int SUB_ID = 1; field in EapSessionConfigTest
55 .setEapSimConfig(SUB_ID, APPTYPE_USIM) in testBuildEapSim()
63 assertEquals(SUB_ID, eapSimConfig.subId); in testBuildEapSim()
70 .setEapAkaConfig(SUB_ID, APPTYPE_USIM) in testBuildEapAka()
77 assertEquals(SUB_ID, eapAkaConfig.subId); in testBuildEapAka()
86 SUB_ID, APPTYPE_USIM, NETWORK_NAME, ALLOW_MISMATCHED_NETWORK_NAMES) in testBuildEapAkaPrime()
93 assertEquals(SUB_ID, eapAkaPrimeConfig.subId); in testBuildEapAkaPrime()
/packages/apps/Settings/tests/robotests/src/com/android/settings/network/telephony/gsm/
DAutoSelectPreferenceControllerTest.java51 private static final int SUB_ID = 2; field in AutoSelectPreferenceControllerTest
81 when(mTelephonyManager.createForSubscriptionId(SUB_ID)).thenReturn(mTelephonyManager); in setUp()
86 when(mCarrierConfigManager.getConfigForSubId(SUB_ID)).thenReturn(mCarrierConfig); in setUp()
92 mController.init(mLifecycle, SUB_ID); in setUp()
131 when(mCarrierConfigManager.getConfigForSubId(SUB_ID)).thenReturn(null); in init_carrierConfigNull_shouldNotCrash()
134 mController.init(mLifecycle, SUB_ID); in init_carrierConfigNull_shouldNotCrash()
DOpenNetworkSelectPagePreferenceControllerTest.java50 private static final int SUB_ID = 2; field in OpenNetworkSelectPagePreferenceControllerTest
82 when(mTelephonyManager.createForSubscriptionId(SUB_ID)).thenReturn(mTelephonyManager); in setUp()
86 when(mCarrierConfigManager.getConfigForSubId(SUB_ID)).thenReturn(mCarrierConfig); in setUp()
88 when(mSubscriptionInfo.getSubscriptionId()).thenReturn(SUB_ID); in setUp()
101 mController.init(mLifecycle, SUB_ID); in setUp()
/packages/apps/Settings/tests/robotests/src/com/android/settings/network/telephony/cdma/
DCdmaSystemSelectPreferenceControllerTest.java48 private static final int SUB_ID = 2; field in CdmaSystemSelectPreferenceControllerTest
73 doReturn(mTelephonyManager).when(mTelephonyManager).createForSubscriptionId(SUB_ID); in setUp()
80 when(mCarrierConfigManager.getConfigForSubId(SUB_ID)).thenReturn(mCarrierConfig); in setUp()
85 mController.init(mPreferenceManager, SUB_ID); in setUp()
122 Settings.Global.PREFERRED_NETWORK_MODE + SUB_ID, in updateState_LteGSMWcdma_disabled() local
/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/eap/statemachine/
DEapAkaPrimeTest.java39 protected static final int SUB_ID = 1; field in EapAkaPrimeTest
44 SUB_ID, APPTYPE_USIM, PEER_NETWORK_NAME, ALLOW_MISMATCHED_NETWORK_NAMES);
69 .createForSubscriptionId(SUB_ID); in setUp()
79 verify(mockTelephonyManagerFromContext).createForSubscriptionId(SUB_ID); in setUp()

123