}
public void testCollectsDifferentTypesWithFieldOfSameName() {
SampleMaps sample = new SampleMaps();
sample.good = new OrderRetainingMap();
sample.good.put("iPhone", new Product("iPhone", "i", 399.99));
sample.good.put("Linux", new Software("Red Hat", "Linux"));
sample.good.put("Intel", new Hardware("i386", "Intel"));
String expected = "" +
"<sample>\n" +