@Test public void isTelAvailable_whenCanAcceptIntent_shouldReturnTrue() throws Exception { context = createMockContextWithSpecificIntentData("tel", null, null, "android.intent.action.DIAL"); assertThat(subject.isTelAvailable(context)).isTrue(); }
boolean isTelAvailable(Context context) { Intent telIntent = new Intent(Intent.ACTION_DIAL); telIntent.setData(Uri.parse("tel:")); return Intents.deviceCanHandleIntent(context, telIntent); }
MraidNativeCommandHandler { boolean isTelAvailable(Context context) { Intent telIntent = new Intent(Intent.ACTION_DIAL); telIntent.setData(Uri.parse("tel:")); return Intents.deviceCanHandleIntent(context, telIntent); } }
MraidNativeCommandHandler { boolean isTelAvailable(Context context) { Intent telIntent = new Intent(Intent.ACTION_DIAL); telIntent.setData(Uri.parse("tel:")); return Intents.deviceCanHandleIntent(context, telIntent); }  }
MraidNativeCommandHandler { boolean isTelAvailable(Context context) { Intent telIntent = new Intent(Intent.ACTION_DIAL); telIntent.setData(Uri.parse("tel:")); return Intents.deviceCanHandleIntent(context, telIntent); }  static boolean isStorePictureSupported(Context context); }
MraidNativeCommandHandler { boolean isTelAvailable(Context context) { Intent telIntent = new Intent(Intent.ACTION_DIAL); telIntent.setData(Uri.parse("tel:")); return Intents.deviceCanHandleIntent(context, telIntent); }  static boolean isStorePictureSupported(Context context); static final String ANDROID_CALENDAR_CONTENT_TYPE; }