@Test
public void testSetApplicationContext() throws Exception {

    JobDetailImpl jobDetail = new JobDetailImpl();
    jobDetail.setJobClass(MockJob.class);
    TriggerFiredBundle bundle = new TriggerFiredBundle(jobDetail, Mockito.mock(OperableTrigger.class), new BaseCalendar(), true, new Date(), new Date(), new Date(), new Date());
    assertNotNull(factory.createJobInstance(bundle));
}