ValidatingTransform extends Transform { @Override public ValidatingTransform clone() { return new ValidatingTransform(this); } ValidatingTransform();  ValidatingTransform(final ReadOnlyTransform source); @Override Transform fromHomogeneousMatrix(final ReadOnlyMatrix4 matrix); @Override ValidatingTransform setRotation(final ReadOnlyMatrix3 rotation); @Override ValidatingTransform setRotation(final ReadOnlyQuaternion rotation); @Override ValidatingTransform setScale(final double x, final double y, final double z); @Override ValidatingTransform setScale(final double uniformScale); @Override ValidatingTransform setScale(final ReadOnlyVector3 scale); @Override ValidatingTransform setTranslation(final double x, final double y, final double z); @Override ValidatingTransform setTranslation(final ReadOnlyVector3 translation); @Override Transform translate(final double x, final double y, final double z); @Override Transform translate(final ReadOnlyVector3 vec); @Override Transform multiply(final ReadOnlyTransform transformBy, final Transform store); @Override Transform invert(final Transform store); @Override Transform set(final ReadOnlyTransform source); @Override ValidatingTransform clone();  }
@Test public void testClone() { final ValidatingTransform trans1 = new ValidatingTransform(); final ValidatingTransform trans2 = trans1.clone(); assertEquals(trans1, trans2); assertNotSame(trans1, trans2); }