serialize an instance , restore it , and check for equality . concode_field_sep PlaceHolder placeHolder concode_field_sep void testCloning concode_elem_sep void testHashcode concode_elem_sep void testEquals
void function ( ) { PaintScaleLegend loc0 = new PaintScaleLegend ( new GrayPaintScale ( ) , new NumberAxis ( "srini_string" ) ) ; PaintScaleLegend loc1 = ( PaintScaleLegend ) TestUtilities . serialised ( loc0 ) ; assertEquals ( loc0 , loc1 ) ; }