public void ValuesWithFullWidth_ExportedByFillingOutFullSpace()
{
DocumentFormatDefinitionBuilder<ChequeRow> definition = GetDefinition();
var record = new ChequeRow()
{
AccountNo = 123456789012,
RecordType = ChequeRow.RecordTypeEnum.Outstanding,
AmountCents = 210987654321,
SerialNumber = 9876543210,
Date = new DateTime(2013, 12, 31)
};
string resultString = definition.Build().Export(new ChequeRow[] {record});
Assert.That(resultString,
Is.EqualTo("123456789012O987654321021098765432120131231" +
new string(' ', 1 + 50 + 16 + 256 + 16)));
}