AbstractDateSelectionModel implements DateSelectionModel { @Override public boolean isAdjusting() { return adjusting; } AbstractDateSelectionModel();  AbstractDateSelectionModel(Locale locale); @Override Calendar getCalendar(); @Override int getFirstDayOfWeek(); @Override void setFirstDayOfWeek(final int firstDayOfWeek); @Override int getMinimalDaysInFirstWeek(); @Override void setMinimalDaysInFirstWeek(int minimalDays); @Override TimeZone getTimeZone(); @Override void setTimeZone(TimeZone timeZone); @Override Locale getLocale(); @Override void setLocale(Locale locale); @Override Date getUpperBound(); @Override void setUpperBound(Date upperBound); @Override Date getLowerBound(); @Override void setLowerBound(Date lowerBound); @Override boolean isAdjusting(); @Override void setAdjusting(boolean adjusting); @Override void addDateSelectionListener(DateSelectionListener l); @Override void removeDateSelectionListener(DateSelectionListener l); List<DateSelectionListener> getDateSelectionListeners(); static final SortedSet<Date> EMPTY_DATES; }
@Test public void testEventsCarryAdjustingFlagFalse() { Date date = calendar.getTime(); DateSelectionReport report = new DateSelectionReport(model); model.setSelectionInterval(date, date); assertEquals(model.isAdjusting(), report.getLastEvent().isAdjusting()); }