assertEquals("User group should be expanded to show incoming message icon",
2, getTree().getRowCount());
}
public void testSaveLoadTreeState() throws Exception {
myUserModel.addUser(new MockUser("user1", "group"));
myUserModel.addUser(new MockUser("user2", "group"));
myUserModel.addGroup("daaa");
myUserModel.addUser(new MockUser("user3", "zzzz"));
TreeUtils.collapseAll(getTree());
getTree().expandRow(1);
assertEquals("Sanity check", 5, getTree().getRowCount());
myUserListComponent.saveState();