Set originalSet = original.entrySet();
XmlMap map = new XmlMap(this.strategy);
map.put("guilherme", "aCuteString");
map.put("silveira", "anotherCuteString");
Set set = map.entrySet();
assertTrue(set.containsAll(originalSet));
}
// actually an acceptance test?
public void testIteratesOverEntryAndChecksItsKeyWithAnotherInstance() {
XmlMap map = new XmlMap(this.strategy);