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