confirm that cloning works . concode_field_sep PlaceHolder placeHolder concode_field_sep void testPublicCloneable concode_elem_sep void testSerialization concode_elem_sep void testHashCode concode_elem_sep void testEquals
void function ( ) { Stroke loc0 = new BasicStroke ( 2.0f ) ; XYLineAnnotation loc1 = new XYLineAnnotation ( 10.0 , 20.0 , 100.0 , 200.0 , loc0 , Color . blue ) ; XYLineAnnotation loc2 = ( XYLineAnnotation ) loc1 . clone ( ) ; assertTrue ( loc1 != loc2 ) ; assertTrue ( loc1 . getClass ( ) == loc2 . getClass ( ) ) ; assertTrue ( loc1 . equals ( loc2 ) ) ; }