@Test
public void testVisibleMonthContainsSelectionIinitial() {

    calendar.set(2008, Calendar.JULY, 15);
    JXDatePicker picker = new JXDatePicker(calendar.getTime());
    CalendarUtils.startOfMonth(calendar);
    assertEquals(calendar.getTime(), picker.getMonthView().getFirstDisplayedDay());
}