### Question:
CrontabParser { public List<Integer> getFixedInvocations(int maxValue, CrontabElement crontabElement) { String element = crontabElement.toString(); int begin = 0; int period = 1; int end = maxValue; List<Integer> invocations = new ArrayList<Integer>(); String[] slashDelimited = element.split("/"); if (element.equals("*")) { for (int i = 0; i <= maxValue; i++) { invocations.add(i); } return invocations; } else if (slashDelimited.length == 1 && element.matches("^[\\d,]+$")) { String[] commaDelimited = element.split(","); int len = commaDelimited.length; for (int i = 0; i < len; i++) { invocations.add(Integer.valueOf(commaDelimited[i])); } return invocations; } else if (slashDelimited.length == 2) { String leftSide = slashDelimited[0]; if (leftSide.matches("^\\d+$")) { begin = Integer.valueOf(slashDelimited[0]); } else if (leftSide.matches("^\\d+?-\\d+$")) { String[] beginAndEnd = slashDelimited[0].split("-"); begin = Integer.valueOf(beginAndEnd[0]); end = Integer.valueOf(beginAndEnd[1]); } period = Integer.valueOf(slashDelimited[1]); } else { throw new IllegalArgumentException("Invalid crontab configuration value:" + element); } int invocation = begin; while (invocation <= end) { invocations.add(invocation); invocation += period; } return invocations; } 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 getFixedInvocations_A$int$RawCrontabLine() throws Exception { int arg0 = 59; CrontabElement arg1 = new CrontabElement("0/5"); List<Integer> actual = parser.getFixedInvocations(arg0, arg1); assertTrue(actual.size() == 12); assertTrue(0 == actual.get(0)); assertTrue(5 == actual.get(1)); assertTrue(10 == actual.get(2)); assertTrue(15 == actual.get(3)); assertTrue(20 == actual.get(4)); assertTrue(25 == actual.get(5)); assertTrue(30 == actual.get(6)); assertTrue(35 == actual.get(7)); assertTrue(40 == actual.get(8)); assertTrue(45 == actual.get(9)); assertTrue(50 == actual.get(10)); assertTrue(55 == actual.get(11)); }