I am trying successfully XmlUnit, and is very helpful in my job. Now, I have a little problem, that I don\'t know how to solve. I have a java class, that has a Set, and when
This seems to work for XMLUnit 2.0:
Diff myDiff = DiffBuilder.compare(Input.fromString(expected)) .withTest(Input.fromString(actual)) .withNodeMatcher(new DefaultNodeMatcher(ElementSelectors.byNameAndAllAttributes)) .checkForSimilar() .build();