@Override
  public String toString() {
    StringBuilder buf = new StringBuilder();

    int[] colWidths = colWidths();
    if (_headerColumnNames != null) {
      append(buf, colWidths, _headerColumnNames);
      int totalWidth = 0;
      for (int width : colWidths) {
        totalWidth += width;
      }
      buf.append(rightPad("", totalWidth, '='));
      buf.append('\n');
    }
    for (String[] row : _rows) {
      append(buf, colWidths, row);
    }

    return buf.toString();
  }
@Test(priority = 1)
  public void testToStringForEmptyTextTable() {
    // Run the test
    final String result = _textTableUnderTest.toString();

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