### Question:
ScheduledJobInfo { public void setScheduledJobFrequencyMilliseconds(final long scheduledJobFrequencyMilliseconds) { if (scheduledJobFrequencyMilliseconds < MINIMUM_FREQUENCY_MILLISECONDS) { throw new IllegalArgumentException("Frequency must be at least " + MINIMUM_FREQUENCY_MILLISECONDS); } this.scheduledJobFrequencyMilliseconds = scheduledJobFrequencyMilliseconds; } protected  ScheduledJobInfo();  ScheduledJobInfo(final long scheduledJobFrequencyMilliseconds,
                            final LocalTime startTime,
                            final boolean isSchedulingEnabled);  ScheduledJobInfo(final long scheduledJobFrequencyMilliseconds,
                            final LocalTime startTime);  ScheduledJobInfo(final long scheduledJobFrequencyMilliseconds); LocalTime getStartTime(); void setStartTime(final LocalTime startTime); long getScheduledJobFrequencyMilliseconds(); void setScheduledJobFrequencyMilliseconds(final long scheduledJobFrequencyMilliseconds); Date getLastActualJobDate(); void setLastActualJobDate(final Date lastActualJobDate); Date getLastJobExpectedRunDate(); boolean isSchedulingEnabled(); void setSchedulingEnabled(final boolean schedulingEnabled); static final LocalTime DEFAULT_START_TIME; }### Answer:
@Test(expectedExceptions = IllegalArgumentException.class) public void setIllegalFrequency() { ScheduledJobInfo info = new ScheduledJobInfo(FREQUENCY_MS); info.setScheduledJobFrequencyMilliseconds(INVALID_FREQUENCY); }