@Test
public void skalBeregneTransportkostnad() throws Exception {
Periode periode = new Periode(YEAR, WEEK_50, WEEK_50);
String productAreaGroupName = "Garasje";
Transport transport = new Transport();
transport.setSent(new Date());
Supplier supplier = new Supplier();
transport.setSupplier(supplier);
Order order = new Order();
order.setSent(new Date());
order.setPostalCode("4841");
ProductArea productArea = new ProductArea();
ProductAreaGroup productAreaGroup = new ProductAreaGroup();
productAreaGroup.setProductAreaGroupName(productAreaGroupName);
productArea.setProductAreaGroup(productAreaGroup);
order.setProductArea(productArea);
transport.addOrder(order);
List<Transport> transportList = Lists.newArrayList(transport);
when(transportManager.findInPeriode(periode, productAreaGroupName))
.thenReturn(transportList);
TransportCost transportCost=new TransportCost();
transportCost.setCost(BigDecimal.valueOf(1000));