.getBean("packlistVManager");
OrderManager orderManager = (OrderManager) ModelUtil
.getBean(OrderManager.MANAGER_NAME);
List<PacklistV> liste = packlistVManager.findAllApplyable();
PacklistV packlistV = liste.get(0);
assertFalse(liste.isEmpty());
assertNull(packlistV.getProductionBasis());
Order order = orderManager.findByOrderNr(packlistV.getOrderNr());
order.setProductionBasis(Integer.valueOf(70));
orderManager.saveOrder(order);
liste = packlistVManager.findApplyableByOrderNr(packlistV.getOrderNr());
assertEquals(1, liste.size());
assertEquals(Integer.valueOf(70), liste.get(0).getProductionBasis());
order = orderManager.findByOrderNr(packlistV.getOrderNr());
order.setProductionBasis(null);
orderManager.saveOrder(order);
}