TreeInfo tree = (TreeInfo) frame.getChildrenWidgets().get(0);
TreeItemInfo treeItem = tree.getItems().get(0);
WidgetInfo button = treeItem.getWidget();
// check association type, but not operations (see test for this association)
assertInstanceOf(ImplicitFactoryArgumentAssociation.class, button.getAssociation());
assertTrue(button.canDelete());
assertFalse(JavaInfoUtils.canMove(button));
assertTrue(JavaInfoUtils.canReparent(button));
}
////////////////////////////////////////////////////////////////////////////