Column emptyStart=new Column("",new AttributeBuilder().set(Column.Separator, "|").build());
Column first=new Column("Comp",new AttributeBuilder().set(Column.Separator, "..|").set(Column.Indent,"--").set(Column.FillAfter,'.').build());
Column number=new Column("Calls",new AttributeBuilder().set(Column.Align.Right).set(Column.Separator, "|").build());
Report report = new Report();
Row row=report.newRow();
row.set(first, 0, "Main").set(number, 0, "100");
row=report.newRow();
row.set(first, 1, "Login").set(number, 0, "80");
row=report.newRow();
row.set(first, 2, "Help").set(number, 0, "10");
row=report.newRow();
row.set(first, 1, "Start").set(number, 0, "20");
String textReport = report.export(emptyStart, first, number).separateColumnNamesWith('-').asString();
Assert.assertEquals("|Comp......|Calls|\n------------------\n|Main......| 100|\n|--Login...| 80|\n|----Help..| 10|\n|--Start...| 20|\n", textReport);
}