### Question:
SeekbarListItem extends ListItem<SeekbarListItem.ViewHolder> { public void setMax(int max) { mMax = max; markDirty(); } SeekbarListItem(Context context); static ViewHolder createViewHolder(View itemView); @Override int getViewType(); void setMax(int max); void setProgress(int progress); void setSecondaryProgress(int secondaryProgress); void setOnSeekBarChangeListener(SeekBar.OnSeekBarChangeListener listener); void setText(String text); void setPrimaryActionIcon(@DrawableRes int iconResId); void setPrimaryActionIcon(Drawable drawable); void setPrimaryActionIconListener(View.OnClickListener onClickListener); void setPrimaryActionEmptyIcon(); void setSupplementalIcon(@DrawableRes int iconResId,
            boolean showSupplementalIconDivider); void setSupplementalIcon(Drawable drawable, boolean showSupplementalIconDivider); void setSupplementalIconListener(View.OnClickListener listener); @Deprecated void setSupplementalIcon(Drawable drawable, boolean showSupplementalIconDivider,
            @Nullable  View.OnClickListener listener); void setSupplementalEmptyIcon(boolean seekbarOffsetDividerWidth);  }### Answer:
@Test public void testSettingMax() { final int max = 50; SeekbarListItem item = new SeekbarListItem(mActivity); item.setMax(max); setupPagedListView(Arrays.asList(item)); assertThat(getViewHolderAtPosition(0).getSeekBar().getMax(), is(equalTo(max))); }