public void testEqualsAttributesInDifferentOrder() throws Exception {
  XppDom dom1=XppFactory.buildDom("<dom a='1' b='2'/>");
  XppDom dom2=XppFactory.buildDom("<dom b='2' a='1'/>");
  assertEquals(comparator,dom1,dom2);
  assertNull(xpath.get());
}

public void testEqualsAttributesInDifferentOrder ( ) throws Exception { XppDom dom1 = XppFactory . buildDom ( "<dom a='1' b='2'/>" ) ; XppDom dom2 = XppFactory . buildDom ( "<dom b='2' a='1'/>" ) ; assertEquals ( comparator , dom1 , dom2 ) ; assertNull ( xpath . get ( ) ) ; }
tests comparison of attributes in different order .
