public void testClone() {
List<UmlProperty> methods = new ArrayList<UmlProperty>();
List<UmlProperty> attributes = new ArrayList<UmlProperty>();
List<UmlStereotype> stereotypes = new ArrayList<UmlStereotype>();
for (int i = 0; i < 3; i++) {
UmlProperty method = (UmlProperty) UmlProperty.getPrototype().clone();
method.setName("method" + i);
methods.add(method);
UmlProperty attribute = (UmlProperty) UmlProperty.getPrototype().clone();
attribute.setName("attribute" + i);
attributes.add(attribute);
UmlStereotype stereo = (UmlStereotype) UmlStereotype.getPrototype().clone();
stereo.setName("stereotype" + i);
stereotypes.add(stereo);
}