### Question:
OptionalExtraBuilder { @NonNull public T to(@NonNull String emailAddress) { builder.to(emailAddress); return getSelf(); } OptionalExtraBuilder(ShareIntentBuilder builder); @NonNull T subject(@NonNull String subject); @NonNull T email(@NonNull String emailAddress); @NonNull T email(@NonNull Collection<String> emailAddresses); @NonNull T to(@NonNull String emailAddress); @NonNull T to(@NonNull Collection<String> emailAddresses); @NonNull T cc(@NonNull String emailAddress); @NonNull T cc(@NonNull Collection<String> emailAddresses); @NonNull T bcc(@NonNull String emailAddress); @NonNull T bcc(@NonNull Collection<String> emailAddresses);  }### Answer:
@Test public void toShouldCallThroughToShareIntentBuilder() { TestOptionalExtraBuilder returnedBuilder = optionalExtraBuilder.to(DEMO_EMAIL_ADDRESS); verify(builder).to(DEMO_EMAIL_ADDRESS); assertThat(returnedBuilder).isSameAs(optionalExtraBuilder); }
@Test public void toWithCollectionShouldCallThroughToShareIntentBuilder() { TestOptionalExtraBuilder returnedBuilder = optionalExtraBuilder.to(DEMO_EMAIL_ADDRESSES); verify(builder).to(DEMO_EMAIL_ADDRESSES); assertThat(returnedBuilder).isSameAs(optionalExtraBuilder); }