docs: public void resetData() {
      try (DbSession dbSession = dbClient.openSession(false);
        Connection connection = dbSession.getConnection()) {
  
        truncateAnalysisTables(connection);
        deleteManualRules(connection);
        truncateInternalProperties(null, null, connection);
        truncateUsers(null, null, connection);
        truncateOrganizations(null, null, connection);
      } catch (SQLException e) {
        throw new IllegalStateException("Fail to reset data", e);
      }
  
      clearIndex(IssueIndexDefinition.DESCRIPTOR);
      clearIndex(ViewIndexDefinition.DESCRIPTOR);
      clearIndex(ProjectMeasuresIndexDefinition.DESCRIPTOR);
      clearIndex(ComponentIndexDefinition.DESCRIPTOR);
    }