DATATYPE function ( @ Nonnull final DATATYPE arg0 ) { final byte [ ] loc0 = SerializationHelper . getSerializedByteArray ( arg0 ) ; final DATATYPE loc1 = SerializationHelper . getDeserializedObject ( loc0 ) ; testDefaultImplementationWithEqualContentObject ( arg0 , loc1 ) ; return loc1 ; }
test the serializability of objects . first writes the object to a byte array stream , and then tries to rebuild it from there . after reading it performs an equals check using #testdefaultimplementationwithequalcontentobject object , object concode_field_sep CommonsTestHelper s_aInstance concode_field_sep void _assertNotNull concode_elem_sep void testDefaultImplementationWithDifferentContentObject concode_elem_sep void _assertEquals concode_elem_sep void _testEqualsImplementation concode_elem_sep void testHashcodeImplementationWithEqualContentObject concode_elem_sep void _assertTrue concode_elem_sep void testToStringImplementationWithDifferentContentObject concode_elem_sep void testGetClone concode_elem_sep void testEqualsImplementationWithEqualContentObject concode_elem_sep void testHashcodeImplementationWithDifferentContentObject concode_elem_sep void testEqualsImplementationWithDifferentContentObject concode_elem_sep void testToStringImplementationWithEqualContentObject concode_elem_sep void _fail concode_elem_sep void _assertFalse concode_elem_sep void testToStringImplementation concode_elem_sep void testDefaultImplementationWithEqualContentObject concode_elem_sep void testInParallel concode_elem_sep void _testHashcodeImplementation