@Test
public void testGetNextCommaSeparated() throws MessageFormatException {

    String token = "3,5,7";
    // test minimum values
    int next = CronParser.getNext(createEntry(token, 1, 10), 3);
    assertEquals(2, next);
    next = CronParser.getNext(createEntry(token, 1, 10), 8);
    assertEquals(4, next);
    next = CronParser.getNext(createEntry(token, 1, 10), 1);
    assertEquals(2, next);
}