ShareIntent extends BaseIntent<ShareIntent> { public ShareIntent mimeType(@NonNull @MimeType.Value final String type) { this.dataType = type; return this; }  ShareIntent content(@Nullable final CharSequence text); @NonNull CharSequence content(); ShareIntent uri(@Nullable final Uri uri); @Nullable Uri uri(); ShareIntent uris(@NonNull final Uri... uris); ShareIntent uris(@Nullable final List<Uri> uris); @NonNull List<Uri> uris(); ShareIntent mimeType(@NonNull @MimeType.Value final String type); @NonNull @MimeType.Value String mimeType(); ShareIntent title(@Nullable final CharSequence title); @NonNull CharSequence title();  }
@Test public void testMimeType() { final ShareIntent intent = new ShareIntent(); intent.mimeType(MimeType.AUDIO); assertThat(intent.mimeType(), is(MimeType.AUDIO)); }