blob: 9c76ac8c39d93a563b7a91569263a64a934641bc (
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
|
package org.openecomp.sdc.be.resources.data;
import mockit.Deencapsulation;
import org.apache.commons.collections.map.HashedMap;
import org.junit.Test;
public class ServiceCategoryDataTest {
private ServiceCategoryData createTestSubject() {
return new ServiceCategoryData();
}
@Test
public void testCtor() throws Exception {
new ServiceCategoryData(new HashedMap());
new ServiceCategoryData("mock");
}
@Test
public void testCreateUniqueId() throws Exception {
ServiceCategoryData testSubject;
// default test
testSubject = createTestSubject();
Deencapsulation.invoke(testSubject, "createUniqueId");
}
}
|