### Question:
DueDateView extends RelativeLayout { public void setDayTitle(String title) { mDayTitle.setText(title); } DueDateView(Context context, AttributeSet attrs);  DueDateView(Context context, AttributeSet attrs, int defStyleAttr); void select(boolean isSelected); Date getDate(); void setInitDate(Date date); void setPickDate(int year, int monthOfYear, int dayOfMonth); void setDayTitle(String title); void setSubtitle(String subtitle);  }### Answer:
@Test public void testSetDayTitle() throws Exception { mDueDateView.setDayTitle("title"); assertTextViewContent(mDayTitle, "title"); }