@Test
  public void testDisableColumnAdjustment() {
    when(screen.shouldTrimColumns()).thenReturn(false);

    Table table = createTableStructure(5, "|", fill(new String[5], "Field"));
    RowGroup rowGroup = table.getLastRowGroup();
    Row row = rowGroup.newRow();
    row
        .newLeftCol("1")
        .newLeftCol("123456789-")
        .newLeftCol("123456789-")
        .newLeftCol("123456789-123456789-12345")
        .newLeftCol("1");

    List<String> result = validateTable(table, false);

    assertThat(result)
        .hasSize(4)
        .containsExactly(
            "",
            "Field0|  Field1  |  Field2  |         Field3          |Field4",
            "------|----------|----------|-------------------------|------",
            "1     |123456789-|123456789-|123456789-123456789-12345|1");
  }
Test Variations table-wide separator true false
geode-gfsh/src/test/java/org/apache/geode/management/internal/cli/result/TableBuilderTest.java