// what is the content pane?
IFigure fig_o = partOp.getContentPane();
assertTrue("CompositeOperation should be extended: " + fig_o.getClass(),
fig_o instanceof ExtendedActivityOperationFigure);
ExtendedActivityOperationFigure ext_o = (ExtendedActivityOperationFigure) fig_o;
// check to see it has the correct initial parent value
assertEquals("Parent: root element", ext_o.getFigureActivityOperationParentNameFigure().getText());
// change the root name
gmf.setName(root, "a new parent name");
assertEquals(root.getName(), "a new parent name");
// the parent labels should have changed
assertEquals("Parent: a new parent name", ext_o.getFigureActivityOperationParentNameFigure().getText());
}