Day { @NonNull public String getText() { return mDate.toString(mFormatter); } Day(@NonNull LocalDate date, boolean today); @NonNull LocalDate getDate(); boolean isEnabled(); void setEnabled(boolean enabled); boolean isSelected(); void setSelected(boolean selected); boolean isCurrent(); void setCurrent(boolean current); boolean isToday(); @Override boolean equals(Object o); @Override int hashCode(); @NonNull String getText();  }
@Test public void testGetText() throws Exception { assertEquals("5", mDay.getText()); }