Folder implements Bundleable { public static Builder builder() { return new Builder(); } protected  Folder(@NonNull String identity,
                  @NonNull String name,
                  @Nullable String parentIdentity,
                  int childCount,
                  @Nullable String date); @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 String parentIdentity; final int childCount; final String date; static BundleCreator<Folder> BUNDLE_CREATOR; }
@Test(expected = NullPointerException.class) public void ensureFolderNullIdentityThrows() { Folder f = Folder.builder().setName("Folder1").build(); }
@Test(expected = NullPointerException.class) public void ensureFolderNullNameThrows() { Folder f = Folder.builder().setName("Folder1").build(); }