QuartzTriggerListener implements TriggerListener { public String getName() { return name; } QuartzTriggerListener(Site site); String getName(); void triggerComplete(Trigger trigger, JobExecutionContext ctx, int a); void triggerFired(Trigger trigger, JobExecutionContext ctx); void triggerMisfired(Trigger trigger); boolean vetoJobExecution(Trigger trigger, JobExecutionContext ctx);  }
@Test public void testGetName() { assertNotNull(triggerListener.getName()); assertTrue(triggerListener.getName().indexOf(siteIdentifier) >= 0); }