### Question:
CrontabParser { long getLongValue(String number) { return Long.valueOf(number.replaceAll("[^\\d]+", "")); } 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 getLongValue_A$Crontab() throws Exception { String arg0 = "123sec"; long actual = parser.getLongValue(arg0); long expected = 123L; assertEquals(expected, actual); }