blob: fa160037923c51990a28bad86bb25802b8d0e9ed (
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
|
package org.openecomp.sdc.be.ecomp.converters;
import org.junit.Test;
import org.openecomp.portalsdk.core.restful.domain.EcompUser;
import org.openecomp.sdc.be.model.User;
import fj.data.Either;
public class EcompUserConverterTest {
@Test
public void testConvertUserToEcompUser() throws Exception {
User asdcUser = new User();
Either<EcompUser, String> result;
// test 1
result = EcompUserConverter.convertUserToEcompUser(asdcUser);
}
@Test
public void testConvertEcompUserToUser() throws Exception {
EcompUser ecompUser = new EcompUser();
Either<User, String> result;
// test 1
result = EcompUserConverter.convertEcompUserToUser(ecompUser);
}
}
|