SingleDaySelectionModel extends AbstractDateSelectionModel { @Override public Date getNormalizedDate(Date date) { return new Date(date.getTime()); } SingleDaySelectionModel();  SingleDaySelectionModel(Locale locale); @Override SelectionMode getSelectionMode(); @Override void setSelectionMode(final SelectionMode selectionMode); @Override void addSelectionInterval(Date startDate, Date endDate); @Override void setSelectionInterval(Date startDate, Date endDate); @Override void removeSelectionInterval(Date startDate, Date endDate); @Override Date getFirstSelectionDate(); @Override Date getLastSelectionDate(); boolean isSelectable(Date date); @Override void clearSelection(); @Override SortedSet<Date> getSelection(); @Override boolean isSelected(Date date); @Override Date getNormalizedDate(Date date); @Override boolean isSelectionEmpty(); @Override SortedSet<Date> getUnselectableDates(); @Override void setUnselectableDates(SortedSet<Date> unselectables); @Override boolean isUnselectableDate(Date date);  }
@Test public void testNormalizedDateUnchanged() { Date date = calendar.getTime(); Date normalized = model.getNormalizedDate(date); assertEquals(date, normalized); }