Day { public void setSelected(boolean selected) { mSelected = selected; } 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 testSetSelected() throws Exception { mDay.setSelected(true); assertTrue(mDay.isSelected()); }