@Test(expected = NullPointerException.class) public void ensureArtistNullIdentityThrows() { Artist a = Artist.builder().setName("Artist1").build(); }
public static Builder builder() { return new Builder(); }
Artist implements Bundleable { public static Builder builder() { return new Builder(); } }
Artist implements Bundleable { public static Builder builder() { return new Builder(); } protected  Artist(@NonNull String identity,
                     @NonNull String name,
                     int albumCount,
                     int songCount); }
Artist implements Bundleable { public static Builder builder() { return new Builder(); } protected  Artist(@NonNull String identity,
                     @NonNull String name,
                     int albumCount,
                     int songCount); @Override String getIdentity(); @Override String getName(); @Override Bundle toBundle(); @Override boolean equals(Object o); @Override int hashCode(); @Override String toString(); static Builder builder(); }
Artist implements Bundleable { public static Builder builder() { return new Builder(); } protected  Artist(@NonNull String identity,
                     @NonNull String name,
                     int albumCount,
                     int songCount); @Override String getIdentity(); @Override String getName(); @Override Bundle toBundle(); @Override boolean equals(Object o); @Override int hashCode(); @Override String toString(); static Builder builder(); final String identity; final String name; final int albumCount; final int songCount; static final BundleCreator<Artist> BUNDLE_CREATOR; }