StreamBuilder extends OptionalExtraBuilder<StreamBuilder> implements AcceptsExtraStream<StreamBuilder>,
        Buildable { @NonNull @Override public StreamBuilder stream(@NonNull Uri stream) { builder.stream(stream); return this; } StreamBuilder(ShareIntentBuilder builder); @NonNull @Override StreamBuilder stream(@NonNull Uri stream); @NonNull @Override StreamBuilder stream(@NonNull Uri stream, @NonNull String type); @NonNull @Override Intent build(); @Override void share(); @Override void share(@NonNull CharSequence title);  }
@Test public void streamShouldCallThroughToShareIntentBuilder() { StreamBuilder returnedBuilder = streamBuilder.stream(DEMO_STREAM); verify(builder).stream(DEMO_STREAM); assertThat(returnedBuilder).isSameAs(streamBuilder); }
@Test public void streamWithTypeShouldCallThroughToShareIntentBuilder() { StreamBuilder returnedBuilder = streamBuilder.stream(DEMO_STREAM, DEMO_TYPE); verify(builder).stream(DEMO_STREAM, DEMO_TYPE); assertThat(returnedBuilder).isSameAs(streamBuilder); }