adapter.putAll(hm1);
adapter.putAll(hm2);
// testing "entrySet()" method
Set<Map.Entry<QName, List<String>>> entryset = adapter.entrySet();
int checkCounter = 0;
for (Iterator it = entryset.iterator();it.hasNext();) {
Map.Entry<QName, List<String>> entry = (Map.Entry<QName, List<String>>)it.next();
// we cannot assume that the order the maps went into