### Question:
CrontabParser { public Crontab getIntervalInvocationCrontab(Crontab crontab, String[] elements) { crontab.isIntervalInvocation = true; crontab.intervalSeconds = getLongValue(elements[0].split(":")[1]); crontab.initialIntervalSeconds = getLongValue(elements[1].split(":")[1]); crontab.commandClassName = getCommandClassNameElement(elements[2]); crontab.multiplicity = getMultiplicityOfCommandWorkers(elements[2]); if (elements.length == 4 && !StringUtil.isEmpty(elements[3])) { String[] servers = elements[3].split(","); crontab.namedServers = new ArrayList<String>(); for (String server : servers) { if (!StringUtil.isEmpty(server)) { crontab.namedServers.add(server); } } } return crontab; } 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 getIntervalInvocationCrontab_A$Crontab$RawCrontabLineArray() throws Exception { Crontab arg0 = new Crontab(); String[] arg1 = new String[]{"interval:6sec", "initial:12sec", "java.lang.String*2", "server1"}; Crontab actual = parser.getIntervalInvocationCrontab(arg0, arg1); assertEquals("java.lang.String", actual.commandClassName.toString()); assertTrue(null == actual.dayElement); assertTrue(null == actual.dayFixedInvocations); assertTrue(null == actual.dayOfWeekElement); assertTrue(null == actual.dayOfWeekFixedInvocations); assertTrue(null == actual.hourElement); assertTrue(null == actual.hourFixedInvocations); assertTrue(12L == actual.initialIntervalSeconds); assertTrue(6L == actual.intervalSeconds); assertTrue(true == actual.isIntervalInvocation); assertTrue(null == actual.rawLine); assertTrue(null == actual.minuteElement); assertTrue(null == actual.minuteFixedInvocations); assertTrue(null == actual.monthElement); assertTrue(null == actual.monthFixedInvocations); assertTrue(2L == actual.multiplicity); assertTrue(1 == actual.namedServers.size()); }