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