1 package org.openecomp.sdc.common.util;
6 public class SerializationUtilsTest {
8 private SerializationUtils createTestSubject() {
9 return new SerializationUtils();
13 public void testSerialize() throws Exception {
15 Either<byte[], Boolean> result;
18 result = SerializationUtils.serialize(object);
22 public void testDeserialize() throws Exception {
23 byte[] bytes = new byte[] { ' ' };
24 Either<Object, Boolean> result;
27 result = SerializationUtils.deserialize(bytes);
31 public void testSerializeExt() throws Exception {
33 Either<byte[], Boolean> result;
36 result = SerializationUtils.serializeExt(object);