CronJobTrigger implements JobTrigger { public int[] getDaysOfWeek() { return daysOfWeek; } CronJobTrigger();  CronJobTrigger(String entry); @Override Object clone(); void reset(); Date getNextExecutionAfter(Date date); void triggered(Date date); int[] getMinutes(); void setMinutes(int[] minutes); void setMinutes(String minutes); int[] getHours(); void setHours(int[] hours); void setHours(String hours); int[] getMonths(); void setMonths(int[] months); void setMonths(String months); int[] getDaysOfMonth(); void setDaysOfMonth(int[] daysOfMonth); void setDaysOfMonth(String daysOfMonth); int[] getDaysOfWeek(); void setDaysOfWeek(int[] daysOfWeek); void setDaysOfWeek(String daysOfWeek); Object getCronExpression(); @Override int hashCode(); @Override boolean equals(Object obj); @Override String toString();  }
@Test public void testGetDaysOfWeek() { assertEquals(7, minuteTrigger.getDaysOfWeek().length); assertEquals(7, hourTrigger.getDaysOfWeek().length); assertEquals(7, dayOfMonthTrigger.getDaysOfWeek().length); assertEquals(7, monthTrigger.getDaysOfWeek().length); assertEquals(2, dayOfWeekTrigger.getDaysOfWeek().length); for (int i = 0; i < daysOfWeek.length; i++) assertEquals(daysOfWeek[i], dayOfWeekTrigger.getDaysOfWeek()[i]); }