/**
* Confirm that cloning works.
*/
public void testCloning() {
CategoryAxis3D a1 = new CategoryAxis3D("Test");
CategoryAxis3D a2 = null;
try {
a2 = (CategoryAxis3D) a1.clone();
}
catch (CloneNotSupportedException e) {
System.err.println("CategoryAxis3DTests.testCloning: failed to clone.");
}
assertTrue(a1 != a2);
assertTrue(a1.getClass() == a2.getClass());
assertTrue(a1.equals(a2));
}