}
@Test
public void skalLageVismaFilForLeveringsdato() throws IOException,
ParseException {
VismaFileCreatorImpl vismaFileCreator = new VismaFileCreatorImpl(null,
false);
Order ordre = new Order();
Transport transport = new Transport();
transport.setLoadingDate(Util.DATE_FORMAT_YYYYMMDD.parse("20110929"));
ordre.setTransport(transport);
OrdchgrHeadV head = new OrdchgrHeadV();
head.setOrdNo(1);
String fileName = vismaFileCreator.createTransportFile(ordre, head,
"visma");
assertNotNull(fileName);
File file = new File("visma/" + fileName);
assertEquals(true, file.exists());
List<String> stringLines = FileUtils.readLines(file);