title: Testing Quartz CronTrigger trigger
body: <p>Assuming that I have a <code>CronTriggerBean</code> similar to</p>
  
  <pre><code>&lt;bean id="midMonthCronTrigger" class="org.springframework.scheduling.quartz.CronTriggerBean"&gt;
      &lt;property name="jobDetail" ref="reminderJobDetail" /&gt;
      &lt;property name="cronExpression" value="0 0 6 15W * ?" /&gt;
  &lt;/bean&gt;
  </code></pre>
  
  <p>What is the best way to test that this bean will actually trigger at its specified date, <em>i.e.</em> on the weekday closest to the 15th of each month at 6 AM?</p>
  
  <hr>
  
  <p><strong>Update</strong>: This is supposed to be an unit test, so I'm not going to fire up a VM or change the system time.</p>