expandCalled = 0;
}
public void testExpandListener() {
Tree tree = createTree(10, 20, false);
tree.addListener((ExpandListener) this);
List<Object> rootIds = new ArrayList<Object>(tree.rootItemIds());
assertEquals(10, rootIds.size());
assertEquals(10 + 10 * 20 + 10, tree.size());