code: @SuppressWarnings("unchecked")
      private <T extends IEntity> List<T> getResultEntities(List<IntuitMessage> intuitMessages) {
          List<T> resultEntities = new ArrayList<T>();
          int i = 0;
          for(IntuitMessage intuitMessage : intuitMessages) {
              if(!isContainResponse(intuitMessage, i)) {
                  LOG.warn("Response object with index="+i+" was expected, got nothing.");
              } else {
                  resultEntities.add((T) getReturnEntity(intuitMessage, i));
              }
              i++;
          }
  
          return resultEntities;
      }
docs: Processes list of intuitMessages and returns list of resultEntities
  @param intuitMessages
  @param <T>
  @return