blob: 19dee19345b0f8aac976fe7f98c73c1f8d08fffc (
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
|
package org.openecomp.portalapp.portal.transport;
import static org.junit.Assert.assertEquals;
import org.junit.Test;
import org.openecomp.portalapp.portal.transport.ExternalAccessRole;
public class ExternalAccessRoleTest {
public ExternalAccessRole mockExternalAccessRole(){
ExternalAccessRole externalAccessRole = new ExternalAccessRole();
externalAccessRole.setName("test");
externalAccessRole.setDescription("test");
return externalAccessRole;
}
@Test
public void externalAccessRoleTest(){
ExternalAccessRole externalAccessRole = mockExternalAccessRole();
assertEquals(externalAccessRole.getName(), "test");
assertEquals(externalAccessRole.getDescription(), "test");
}
}
|