SmsIntent extends BaseIntent { public SmsIntent body(@Nullable final CharSequence body) { this.body = body; return this; }  SmsIntent phoneNumber(@Nullable final String number); @NonNull String phoneNumber(); SmsIntent body(@Nullable final CharSequence body); @NonNull CharSequence body(); static final String URI_SCHEME; }
@Test public void testBody() { final SmsIntent intent = new SmsIntent(); intent.body("Sms body."); assertThat(intent.body().toString(), is("Sms body.")); }
@Test public void testNullBody() { final SmsIntent intent = new SmsIntent(); intent.body(null); assertThat(intent.body().toString(), is("")); }