Track extends Item { public List<Res> getResources() { return Collections.unmodifiableList(resList); } 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 public void ensureSongDefaultMimeTypeWasSet() { assertThat(song1.getResources().get(0).getMimeType()).isEqualTo(Track.DEFAULT_MIME_TYPE); }
@Test public void ensureSongDefaultMimeTypeWasOverridden() { assertThat(song2.getResources().get(0).getMimeType()).isNotEqualTo(Track.DEFAULT_MIME_TYPE); }