Song implements Bundleable { public static Builder builder() { return new Builder(); } protected  Song(@NonNull String identity,
                @NonNull String name,
                @Nullable String albumName,
                @Nullable String artistName,
                @Nullable String albumArtistName,
                @Nullable String albumIdentity,
                int duration,
                @NonNull Uri dataUri,
                @Nullable Uri artworkUri,
                @Nullable String mimeType); @Override String getIdentity(); @Override String getName(); @Override Bundle toBundle(); @Override boolean equals(Object o); @Override int hashCode(); @Override String toString(); static Builder builder(); static final String DEFAULT_MIME_TYPE; final String identity; final String name; final String albumName; final String artistName; final String albumArtistName; final String albumIdentity; final int duration; final Uri dataUri; final Uri artworkUri; final String mimeType; static final BundleCreator<Song> BUNDLE_CREATOR; }
@Test(expected = NullPointerException.class) public void ensureSongNullIdentityThrows() { Song s = Song.builder().setName("Song1").setDataUri(Uri.parse("http: }
@Test(expected = NullPointerException.class) public void ensureSongNullNameThrows() { Song s = Song.builder().setIdentity("1").setDataUri(Uri.parse("http: }
@Test(expected = NullPointerException.class) public void ensureSongNullDataUriThrows() { Song s = Song.builder().setIdentity("1").setName("Song1").build(); }