### Question:
SerializationUtil { public static byte[] serializeString(String string) { return string.getBytes(DEFAULT_CHARSET); } private  SerializationUtil(); static byte[] serializeJson(JsonElement json); static byte[] serializeString(String string); static String deserializeString(byte[] data);  }### Answer:
@Test public void serializeString() { String str = "{type:트랜잭션}"; Assert.assertEquals(11, str.length()); byte[] data = SerializationUtil.serializeString(str); Assert.assertEquals(19, data.length); Assert.assertEquals(str, SerializationUtil.deserializeString(data)); }