}
public void testSeparatesItemsBasedOnItemName() {
SampleMaps sample = new SampleMaps();
sample.good = new OrderRetainingMap();
sample.good.put("Chrome", new Software("Google", "Chrome"));
sample.bad = new OrderRetainingMap();
sample.bad.put("Linux", new Software("Red Hat", "Linux"));
sample.bad.put("Windows", new Software("Microsoft", "Windows"));
String expected = "" +
"<sample>\n" +
" <g>\n" +
" <vendor>Google</vendor>\n" +