assertEquals("Size should be three, viewed via Map directly.", m.size(), 3);
assertEquals("Size should be three, viewed via keySet .", m.keySet().size(), 3);
assertEquals("Size should be three, viewed via values Collection.", m.values().size(), 3);
int count = 0;
for (Iterator ii = m.keySet().iterator(); ii.hasNext();)
{
count += ((Integer) ii.next()).intValue();
}
assertEquals("Count should be six, viewed via values Collection.", count, 6);