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