@Test
public void testEndOfMonth() {

    // want to be in the middle of a year
    int month = midJune.get(Calendar.MONTH);
    CalendarUtils.endOfMonth(midJune);
    assertEquals(month, midJune.get(Calendar.MONTH));
    midJune.add(Calendar.MILLISECOND, 1);
    assertEquals(month + 1, midJune.get(Calendar.MONTH));
}