Searched refs:billingCycleSettings (Results 1 – 1 of 1) sorted by relevance
130 final BillingCycleSettings billingCycleSettings = spy(new BillingCycleSettings()); in testDataUsageSummary_shouldBeNull() local131 when(billingCycleSettings.getContext()).thenReturn(mContext); in testDataUsageSummary_shouldBeNull()132 billingCycleSettings.setUpForTest(mNetworkPolicyEditor, mBillingCycle, in testDataUsageSummary_shouldBeNull()135 doReturn("some-string").when(billingCycleSettings).getString(anyInt(), anyInt()); in testDataUsageSummary_shouldBeNull()140 billingCycleSettings.updatePrefs(); in testDataUsageSummary_shouldBeNull()149 final BillingCycleSettings billingCycleSettings = spy(new BillingCycleSettings()); in onCreate_emptyArguments_shouldSetDefaultNetworkTemplate() local150 when(billingCycleSettings.getContext()).thenReturn(mContext); in onCreate_emptyArguments_shouldSetDefaultNetworkTemplate()151 when(billingCycleSettings.getArguments()).thenReturn(Bundle.EMPTY); in onCreate_emptyArguments_shouldSetDefaultNetworkTemplate()153 when(billingCycleSettings.getActivity()).thenReturn(activity); in onCreate_emptyArguments_shouldSetDefaultNetworkTemplate()156 doNothing().when(billingCycleSettings) in onCreate_emptyArguments_shouldSetDefaultNetworkTemplate()[all …]