Column emptyStart=new Column("",new AttributeBuilder().set(Column.Separator, "|").build());
Column first=new Column("First",new AttributeBuilder().set(Column.Separator, "|").build());
Column number=new Column("Number",new AttributeBuilder().set(Column.Align.Right).set(Column.Separator, "|").build());
Report report = new Report();
Row row=report.newRow();
row.set(first, 0, "baker").set(number, 0, "12,00");
row=report.newRow();
row.set(first, 0, "banker").set(number, 0, "117,00");
row=report.newRow();
row.set(first, 0, "pilot").set(number, 0, "1,12");
String textReport = report.export(emptyStart, first, number).asString();
Assert.assertEquals("|First |Number|\n|baker | 12,00|\n|banker|117,00|\n|pilot | 1,12|\n", textReport);
}