### Question:
CrontabParser { public boolean isInvocationValueContainedInCrontabValue( int invocationValue, int maxValue, CrontabElement element) { String elementValue = element.toString(); if (elementValue.matches("^\\d+$")) { return invocationValue == Integer.valueOf(elementValue); } else if (elementValue.contains("/") || elementValue.matches("^[\\d,]+$")) { List<Integer> fixedInvocations = getFixedInvocations(maxValue, element); for (int fixed : fixedInvocations) { if (invocationValue == fixed) { return true; } } return false; } return false; } 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 isInvocationValueContainedInCrontabValue_A$int$int$RawCrontabLine() throws Exception { int invocationValue = 1; int maxValue = 3; CrontabElement crontabValue = new CrontabElement("1,2,3"); boolean actual = parser.isInvocationValueContainedInCrontabValue(invocationValue, maxValue, crontabValue); boolean expected = true; assertEquals(expected, actual); }