Collection<Memory.MemBean> l = (Collection<Memory.MemBean>)o;
assertEquals("Two buckets", 2, l.size());
Iterator<MemBean> it = l.iterator();
MemBean mb1 = it.next();
LOG.info(mb1.toString());
assertEquals("977 KB is rounded to 1024KB", "1024 KB", mb1.getMemory());
assertEquals("three sessions ", 3, mb1.getCount());
MemBean mb2 = it.next();
LOG.info(mb2.toString());
assertEquals("2GB", "2 GB", mb2.getMemory());
assertEquals("one session", 1, mb2.getCount());
}