serialize an instance , restore it , and check for equality . concode_field_sep PlaceHolder placeHolder concode_field_sep void testHashCode concode_elem_sep void testEquals
void function ( ) { AxisLocation loc0 = AxisLocation . BOTTOM_OR_RIGHT ; AxisLocation loc1 = ( AxisLocation ) TestUtilities . serialised ( loc0 ) ; assertEquals ( loc0 , loc1 ) ; boolean loc2 = loc0 == loc1 ; assertEquals ( true , loc2 ) ; }