CategoryPath cp = new CategoryPath("a", "b");
ca1.setCategoryPath(cp);
ca1.addProperty(new DummyProperty());
CategoryAttribute ca2 = ca1.clone();
assertEquals("Error in cloning", ca1, ca2);
CategoryAttributeImpl ca3 = new CategoryAttributeImpl();
assertNotSame("Should not be the same", ca1, ca3);
ca1.copyTo(ca3);