### Question:
CronExpression { public static CronExpression createWithoutSeconds(final String expr) { return new CronExpression(expr, false); } CronExpression(final String expr);  CronExpression(final String expr, final boolean withSeconds); static CronExpression create(final String expr); static CronExpression createWithoutSeconds(final String expr); ZonedDateTime nextTimeAfter(ZonedDateTime afterTime); LocalDateTime nextLocalDateTimeAfter(LocalDateTime dateTime); ZonedDateTime nextTimeAfter(ZonedDateTime afterTime, long durationInMillis); ZonedDateTime nextTimeAfter(ZonedDateTime afterTime, ZonedDateTime dateTimeBarrier); @Override String toString();  }### Answer:
@Test(expected = IllegalArgumentException.class) public void test_seconds_specified_but_should_be_omitted() throws Exception { CronExpression.createWithoutSeconds("* * * 29 2 *"); }