@Test
public void testIsStartOfWeek() {

    CalendarUtils.startOfWeek(midJune);
    assertTrue(CalendarUtils.isStartOfWeek(midJune));
    midJune.add(Calendar.MILLISECOND, -1);
    Date date = midJune.getTime();
    assertFalse(CalendarUtils.isStartOfWeek(midJune));
    assertEquals("calendar must be unchanged", date, midJune.getTime());
}