AnimeLibraryEntry implements Parcelable { public boolean hasRating() { return mRating != null; }  boolean canBeIncremented(); @Override boolean equals(final Object o); Anime getAnime(); String getAnimeId(); int getEpisodesWatched(); String getId(); SimpleDate getLastWatched(); @Nullable String getNotes(); @Nullable Rating getRating(); int getRewatchCount(); WatchingStatus getStatus(); @Override int hashCode(); boolean hasNotes(); boolean hasRating(); @WorkerThread boolean hydrate(final Anime anime); @WorkerThread boolean hydrate(final AnimeDigest digest); @WorkerThread void hydrate(final Feed feed); boolean isFavorite(); boolean isPrivate(); boolean isRewatching(); void setAnime(final Anime anime); @Override String toString(); void update(final AnimeLibraryEntry libraryEntry); @Override int describeContents(); @Override void writeToParcel(final Parcel dest, final int flags); static final Creator<AnimeLibraryEntry> CREATOR; static final Comparator<AnimeLibraryEntry> DATE; static final Comparator<AnimeLibraryEntry> RATING; static final Comparator<AnimeLibraryEntry> TITLE; }
@Test public void testHasRating() throws Exception { assertTrue(mLibraryEntry.hasRating()); }