aboutsummaryrefslogtreecommitdiffstats
path: root/catalog-dao/src/test/java/org/openecomp/sdc/be/resources/data/ServiceCategoryDataTest.java
blob: 1e0cc7cf6849f205e172dbe17c249877f555419f (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.resources.data;

import org.apache.commons.collections.map.HashedMap;
import org.junit.Test;

import mockit.Deencapsulation;

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");
	}
}