@Test public void constructor_shouldCreateSendToIntentWithEmailAddress() throws Exception { subject = new AdAlertReporter(mockContext, mockView, mockAdReport); emailIntent = subject.getEmailIntent(); assertThat(emailIntent.getAction()).isEqualTo(Intent.ACTION_SEND_MULTIPLE); assertThat(emailIntent.getType()).isEqualTo("plain/text"); assertThat(emailIntent.getData().toString()).isEqualTo("mailto:"); assertThat(emailIntent.getStringArrayExtra(Intent.EXTRA_EMAIL)[0]).isEqualTo(EMAIL_ADDRESS); }
@Deprecated Intent getEmailIntent() { return mEmailIntent; }
AdAlertReporter { @Deprecated Intent getEmailIntent() { return mEmailIntent; } }
AdAlertReporter { @Deprecated Intent getEmailIntent() { return mEmailIntent; } AdAlertReporter(final Context context, final View view, @Nullable final AdReport adReport); }
AdAlertReporter { @Deprecated Intent getEmailIntent() { return mEmailIntent; } AdAlertReporter(final Context context, final View view, @Nullable final AdReport adReport); void send(); }
AdAlertReporter { @Deprecated Intent getEmailIntent() { return mEmailIntent; } AdAlertReporter(final Context context, final View view, @Nullable final AdReport adReport); void send();  }