@Transactional
public void updateItemsInOrder() throws ItemNotFoundException, PricingException {
Order order = cartService.findOrderById(orderId);
List<OrderItem> orderItems = order.getOrderItems();
assert orderItems.size() > 0;
OrderItem item = orderItems.get(0);
//item.setSalePrice(new Money(BigDecimal.valueOf(10000)));
((DiscreteOrderItem) item).getSku().setSalePrice(new Money(BigDecimal.valueOf(10000)));
((DiscreteOrderItem) item).getSku().setRetailPrice(new Money(BigDecimal.valueOf(10000)));
item.setQuantity(10);
cartService.updateItemQuantity(order, item);
OrderItem updatedItem = orderItemService.readOrderItemById(item.getId());
assert updatedItem != null;
assert updatedItem.getPrice().equals(new Money(BigDecimal.valueOf(10000)));
assert updatedItem.getQuantity() == 10;
List<OrderItem> updateItems = new ArrayList<OrderItem> (order.getOrderItems());
updateItems.get(0).setQuantity(15);
cartService.updateItemQuantity(order, updatedItem);
order = cartService.findOrderById(orderId);