@Test
public void neverExpireTriggerTest() throws TriggerManagerException {

  final Trigger t1 = createNeverExpireTrigger("triggerLoader", 10);
  this.triggerManager.insertTrigger(t1);
  t1.setResetOnTrigger(false);
  final ThresholdChecker triggerChecker =
      (ThresholdChecker) t1.getTriggerCondition().getCheckers().values()
          .toArray()[0];
  final BasicTimeChecker expireChecker =
      (BasicTimeChecker) t1.getExpireCondition().getCheckers().values()
          .toArray()[0];
  ThresholdChecker.setVal(15);
  sleep(300);
  sleep(300);
  assertTrue(triggerChecker.isCheckerMet() == true);
  assertTrue(expireChecker.eval() == false);
  ThresholdChecker.setVal(25);
  sleep(300);
  assertTrue(triggerChecker.isCheckerMet() == true);
  assertTrue(expireChecker.eval() == false);
}