docs: public void fireBeforeCaseClosed(String caseId, CaseFileInstance caseFile, String comment) {
          final Iterator<CaseEventListener> iter = getEventListenersIterator();
  
          if (iter.hasNext()) {
              final CaseCloseEvent event = new CaseCloseEvent(identityProvider.getName(), caseId, caseFile, comment);
  
              do{
                  iter.next().beforeCaseClosed(event);
              } while (iter.hasNext());
          }
      }