@Override
  public String toString() {
    int numColumns = getColumnCount();
    TextTable table = new TextTable();
    String[] columnNames = new String[numColumns];
    String[] columnDataTypes = new String[numColumns];
    for (int c = 0; c < numColumns; c++) {
      columnNames[c] = _columnNamesArray.get(c).asText();
      columnDataTypes[c] = _columnDataTypesArray.get(c).asText();
    }
    table.addHeader(columnNames);
    table.addHeader(columnDataTypes);

    int numRows = getRowCount();
    for (int r = 0; r < numRows; r++) {
      String[] columnValues = new String[numColumns];
      for (int c = 0; c < numColumns; c++) {
        try {
          columnValues[c] = getString(r, c);
        } catch (Exception e) {
          columnNames[c] = "ERROR";
        }
      }
      table.addRow(columnValues);
    }
    return table.toString();
  }
@Test
  public void testToString() {
    // Run the test
    final String result = _resultTableResultSetUnderTest.toString();

    // Verify the results
    assertNotEquals("", result);
  }