@Override
  public void clearRecursively(ExecutableTriggerStateMachine trigger) {
    finishedTriggers.remove(trigger);
    for (ExecutableTriggerStateMachine subTrigger : trigger.subTriggers()) {
      clearRecursively(subTrigger);
    }
  }
@Test
  public void testClearRecursively() {
    FinishedTriggersProperties.verifyClearRecursively(FinishedTriggersSet.fromSet(new HashSet<>()));
  }