@Test public void getCount() { badge.setCount(0); assertThat(badge.getCount(), is(0)); badge.setCount(1); assertThat(badge.getCount(), is(1)); badge.setCount(2); assertThat(badge.getCount(), is(2)); }
public final int getCount() { return count; }
CountBadge extends TextBadge { public final int getCount() { return count; } }
CountBadge extends TextBadge { public final int getCount() { return count; } CountBadge(@NonNull Context context, @NonNull BadgeShape shape);  CountBadge(@NonNull BadgeShape shape, @ColorInt int badgeColor, @ColorInt int textColor); }
CountBadge extends TextBadge { public final int getCount() { return count; } CountBadge(@NonNull Context context, @NonNull BadgeShape shape);  CountBadge(@NonNull BadgeShape shape, @ColorInt int badgeColor, @ColorInt int textColor); final void setCount(@IntRange(from = 0) int count); final int getCount(); }
CountBadge extends TextBadge { public final int getCount() { return count; } CountBadge(@NonNull Context context, @NonNull BadgeShape shape);  CountBadge(@NonNull BadgeShape shape, @ColorInt int badgeColor, @ColorInt int textColor); final void setCount(@IntRange(from = 0) int count); final int getCount();  }