### Question:
CrontabParser { public int getCrontabDayOfWeekNumber(Calendar cal) { return CalendarUtil.getDayOfWeekNumber(cal) - 1; } CrontabParser(Class<? extends TaskunLog> logImplClass); Crontab parseLine(RawCrontabLine line); List<Integer> getFixedInvocations(int maxValue, CrontabElement crontabElement); long getNextInvocationTime(Calendar currentTime, Crontab crontab); Crontab replaceWildcardsOfMinuteOrHourValue(Crontab crontab); int getCrontabDayOfWeekNumber(Calendar cal); int getFixedMinimumInvocationValue(List<Integer> fixedInvocations); int getFixedSameOrNextInvocationValue(int currentValue, List<Integer> fixedInvocations); int getFixedNextInvocationValue(int currentValue, List<Integer> fixedInvocations); int getFixedNextInvocationValue(int currentValue, int maxValue, CrontabElement element); boolean isInvocationValueContainedInCrontabValue(
            int invocationValue, int maxValue, CrontabElement element); Crontab getIntervalInvocationCrontab(Crontab crontab, String[] elements);  }### Answer:
@Test public void getCrontabDayOfWeekNumber_A$Calendar() throws Exception { Calendar cal = CalendarUtil.getCalendar("2010", "07", "01"); int actual = parser.getCrontabDayOfWeekNumber(cal); int expected = 4; assertEquals(expected, actual); }