public void testMonetaryValueInsideOrder() {
BigDecimal b = new BigDecimal("12.34");
BigDecimal c = new BigDecimal("45.67");
BigDecimal d = new BigDecimal("89.12");
AddressPojo addr = new AddressPojo();
addr.setCustomerId(1);
addr.setStreet("Main Street");
addr.setNumber("23");
Order o = new Order("order3", new OrderMonetaryAmountImpl(b, "EUR"), addr);
o.positions = Arrays.asList(new OrderPosition(new OrderMonetaryAmountImpl(c, "EUR"),
new OrderMonetaryAmountImpl(d, "EUR"), addr));