topValueCount.register(new ValueCount("v" + i, 2 + (int) (Math.random() * 10)));
}
ValueDistributionResultSwingRendererGroupDelegate r = new ValueDistributionResultSwingRendererGroupDelegate("foo",
17, 20);
r.renderGroupResult(new ValueDistributionGroupResult("foo", topValueCount, null, 0, 0, 0, 0));
assertEquals(
"[<count=10>, <count=11>, <count=2>, <count=3>, <count=4>, <count=5>, <count=6>, <count=7>, <count=8>, <count=9>]",
new TreeSet<String>(r.getGroups().keySet()).toString());