assertEquals("schedule is wrong", schedule.isSameSession(time1, time2), isSameSession); assertEquals("schedule is wrong", schedule.isSameSession(time2, time1), isSameSession);
assertEquals("schedule is wrong", isSameSession, schedule.isSameSession(time1, time2)); assertEquals("schedule is wrong", isSameSession, schedule.isSameSession(time2, time1));
    private void doIsSameSessionTest(SessionSchedule schedule, Calendar time1, Calendar time2,            boolean isSameSession) {        assertEquals("schedule is wrong", schedule.isSameSession(time1, time2), isSameSession);        assertEquals("schedule is wrong", schedule.isSameSession(time2, time1), isSameSession);    }