Track extends Item { public static Builder builder() { return new Builder(); } protected  Track(@NonNull Uri uri, @NonNull Uri parentUri, @NonNull String name,
                    @NonNull Metadata metadata, @NonNull ArrayList<Res> resList); String getAlbumName(); String getAlbumArtistName(); Uri getAlbumUri(); String getArtistName(); Uri getArtistUri(); @Deprecated long getDuration(); @Deprecated int getDurationS(); Uri getArtworkUri(); int getTrackNumber(); int getDiscNumber(); boolean isCompilation(); String getGenre(); List<Res> getResources(); @Override Bundle toBundle(); static Builder builder(); Builder buildUpon(); static final String DEFAULT_MIME_TYPE; static final BundleCreator<Track> BUNDLE_CREATOR; }
@Test(expected = NullPointerException.class) public void ensureSongNullIdentityThrows() { Track.builder().setName("Song1").addRes(Track.Res.builder() .setUri(Uri.parse("http: }
@Test(expected = NullPointerException.class) public void ensureSongNullNameThrows() { Track.builder().setUri(Uri.parse("content: .setParentUri(Uri.parse("content: .addRes(Track.Res.builder().setUri(Uri.parse("http: }
@Test(expected = NullPointerException.class) public void ensureSongNullDataUriThrows() { Track.builder().setUri(Uri.parse("content: .setParentUri(Uri.parse("content: .addRes(Track.Res.builder().build()).build(); }