public void testPackAndSendFileToVisma() throws Exception {
Map<String, String> colliSetup = new HashMap<String, String>();
colliSetup.put("Port", "Port");
VismaFileCreator vismaFileCreator = new VismaFileCreatorImpl(
ordchgrHeadVManager, false);
ArticlePacker articlePacker = new ArticlePacker(
colliViewHandlerProvider, colliSetup, vismaFileCreator);
UserUtil.setUserTypeManagerForTest(userTypeManager);
WindowInterface window = null;
articlePacker.packOrderLine(orderLine, packable, window, true);
assertNotNull(orderLine.getColli());
assertEquals("Port", orderLine.getColli().getColliName());
File file = new File("visma/100_.edi");