public class ObjectSerializationUtilsTest {
@Test
- public void testSerialize() throws Exception {
- String s = "hello world";
+ public void testSerialize() throws Exception {
+ String s = "hello world";
byte[] data = ObjectSerializationUtils.serialize(s);
assertNotNull(data);
String t = ObjectSerializationUtils.deserialize(data, String.class);