re base code
[sdc.git] / common-app-api / src / test / java / org / openecomp / sdc / common / util / SerializationUtilsTest.java
1 package org.openecomp.sdc.common.util;
2
3 import fj.data.Either;
4 import org.junit.Test;
5
6 public class SerializationUtilsTest {
7
8         private SerializationUtils createTestSubject() {
9                 return new SerializationUtils();
10         }
11
12         @Test
13         public void testSerialize() throws Exception {
14                 Object object = null;
15                 Either<byte[], Boolean> result;
16
17                 // default test
18                 result = SerializationUtils.serialize(object);
19         }
20
21         @Test
22         public void testDeserialize() throws Exception {
23                 byte[] bytes = new byte[] { ' ' };
24                 Either<Object, Boolean> result;
25
26                 // default test
27                 result = SerializationUtils.deserialize(bytes);
28         }
29
30         @Test
31         public void testSerializeExt() throws Exception {
32                 Object object = null;
33                 Either<byte[], Boolean> result;
34
35                 // default test
36                 result = SerializationUtils.serializeExt(object);
37         }
38
39 }