@Test
public void testToggleToWeek() throws Exception {

    LocalDate from = mCalendarManager.getUnits().getFrom();
    mCalendarManager.toggleToWeek(2);
    Week week = new Week(from.plusDays(2 * 7), LocalDate.now(), mCalendarManager.getMinDate(), mCalendarManager.getMaxDate());
    week.select(mCalendarManager.getSelectedDay());
    assertEquals(week, mCalendarManager.getUnits());
}