ShareIntentNoBuilder extends OptionalExtraBuilder<ShareIntentNoBuilder> implements AcceptsExtraText<TextBuilder>, AcceptsExtraStream<StreamBuilder> { @Override protected ShareIntentNoBuilder getSelf() { return this; } ShareIntentNoBuilder(ShareIntentBuilder builder); TextAndStreamNoBuilder ignoreSpecification(); @NonNull TextBuilder text(@NonNull String text); @NonNull TextBuilder text(@NonNull Collection<String> texts); @NonNull StreamBuilder stream(@NonNull Uri stream); @NonNull StreamBuilder stream(@NonNull Uri stream, @NonNull String type);  }
@Test public void getSelfShouldReturnThis() { ShareIntentNoBuilder returnedSelf = shareIntentNoBuilder.getSelf(); assertThat(returnedSelf).isSameAs(shareIntentNoBuilder); }