public static void check(InteractionUnit container, final Map<QName, Set<Procedure>> behaviours)
throws IntegrityErrors {
final IntegrityErrors err = new IntegrityErrors();
container.accept(new InteractionUnitVisitor() {
@Override
public void startVisit(Container container) {
if (container.doesProduce())
assertConsumer(container, behaviours, err);