@Test
public void testLowerBoundAllowedPastBlocked() {

    model.setLowerBound(today);
    // the bound itself is allowed
    model.setSelectionInterval(today, today);
    assertFalse("lower bound is selectable", model.isSelectionEmpty());
    assertTrue("loweer bound must be selected", model.isSelected(today));
    DateSelectionReport report = new DateSelectionReport(model);
    model.setSelectionInterval(yesterday, yesterday);
    assertFalse("past must not be selected", model.isSelected(yesterday));
    assertEquals("no event fired", 0, report.getEventCount());
    // remove bound allows selection of tomorrow
    model.setLowerBound(null);
    model.setSelectionInterval(yesterday, yesterday);
    assertTrue("past must be selected after removing lower bound ",
            model.isSelected(yesterday));
}