/**
* Tests the basic setter methods.
*/
public void testBasicSetters() {
UmlPackage pkg = UmlPackage.getPrototype();
pkg.setName("mypackage");
PackageElement shape = (PackageElement)
PackageElement.getPrototype().clone();
shape.setUmlPackage(pkg);
assertEquals("mypackage", shape.getLabelText());
assertEquals(pkg, shape.getModelElement());
// sets the name
shape.setLabelText("yourpackage");
assertEquals("yourpackage", pkg.getName());
assertEquals("yourpackage", shape.getLabelText());
}