Album extends Container { public static Builder builder() { return new Builder(); } protected  Album(@NonNull Uri uri, @NonNull Uri parentUri, @NonNull String name, @NonNull Metadata metadata); String getArtistName(); Uri getArtistUri(); int getTrackCount(); Uri getTracksUri(); String getYear(); Uri getArtworkUri(); Uri getDetailsUri(); @Override Bundle toBundle(); static Builder builder(); static final BundleCreator<Album> BUNDLE_CREATOR; }
@Test(expected = NullPointerException.class) public void ensureAlbumNullIdentityThrows() { Album a = Album.builder().setName("Album1").build(); }
@Test(expected = NullPointerException.class) public void ensureAlbumNullNameThrows() { Album a = Album.builder().setUri(Uri.parse("content: .setParentUri(Uri.parse("content: }