全部。我刚开始使用Mockito:)ContextmockContext=mock(Context.class);TelephonyManagermockTelephonyManager=mock(TelephonyManager.class);when(mockTelephonyManager.getNetworkCountryIso()).thenReturn("CN");when(mockContext.getSystemService(Context.TELEPHONY_SERVICE)).thenReturn(mockTelephonyManager);当试图使用电话的esp