Label label2 = givenStoredLabel();
OrderLineGroup orderLineGroup = createValidOrderLineGroup();
orderLineGroup.addLabel(label1);
OrderElement child = orderLineGroup.getChildren().get(0);
child.addLabel(label2);
orderElementDAO.save(orderLineGroup);
List<OrderElement> orderELements = orderElementDAO
.findByLabelsAndCriteria(Collections.singleton(label1), null);
assertEquals(1, orderELements.size());