void function ( ) { XYImageAnnotation loc0 = new XYImageAnnotation ( 10.0 , 20.0 , JFreeChart . INFO . getLogo ( ) ) ; XYImageAnnotation loc1 = ( XYImageAnnotation ) loc0 . clone ( ) ; assertTrue ( loc0 != loc1 ) ; assertTrue ( loc0 . getClass ( ) == loc1 . getClass ( ) ) ; assertTrue ( loc0 . equals ( loc1 ) ) ; }
confirm that cloning works . concode_field_sep PlaceHolder placeHolder concode_field_sep void testPublicCloneable concode_elem_sep void testHashCode concode_elem_sep void testEquals