fail("Right class Map: " + o);
}
Map<VWComponent, Integer> m = (Map<VWComponent, Integer>) o;
assertEquals("6 components: " + m, 6, m.size());
assertEquals(m.get(new VWComponent("com.sun.webui.jsf.component.Button:Button")), new Integer(2));
assertEquals(m.get(new VWComponent("com.sun.webui.jsf.component.Label:Label")), new Integer(3));
assertEquals(m.get(new VWComponent("com.sun.webui.jsf.component.Table:Table")), new Integer(3));
assertEquals(m.get(new VWComponent("com.sun.webui.jsf.component.TextField:Text Field")), new Integer(1));
assertEquals(m.get(new VWComponent("javax.faces.component.html.HtmlInputText:Text Field")), new Integer(1));
assertEquals(m.get(new VWComponent("javax.faces.component.html.HtmlOutputLabel:Component Label")), new Integer(1));
}