StringPair bindpair = bindings[i];
bindmap.put(bindpair.getKey(), bindpair.getValue());
}
BindingOrganizer bindorg = generator.getBindingDirectory();
bindorg.configureFiles("binding", pack, Collections.EMPTY_LIST);
for (Iterator iter = bindorg.iterateBindings(); iter.hasNext();) {
BindingHolder holder = (BindingHolder)iter.next();
if (holder != null) {
String match = (String)bindmap.get(holder.getNamespace());
assertNotNull("Found unexpected binding for namespace " + holder.getNamespace() + ": " +
bindingText(holder), match);