@Test
public void testAddWithOrders() {
Customer customer = new Customer("Johannes", "Vermeer", date(), 2);
Order order = new Order("AA111");
order.addToOrderLines(new OrderLine(1, "verf"));
order.addToOrderLines(new OrderLine(2, "kwast"));
order.addToOrderLines(new OrderLine(3, "doek"));
customer.addToOrders(order);
order = new Order("AA222");
order.addToOrderLines(new OrderLine(7, "rood"));
order.addToOrderLines(new OrderLine(8, "penseel"));
order.addToOrderLines(new OrderLine(9, "ezel"));
customer.addToOrders(order);
customerDao.add(customer);
flush();