aboutsummaryrefslogtreecommitdiffstats
path: root/catalog-be/src/test/java/org/openecomp/sdc/be/datamodel/utils/NodeTypeConvertUtilsTest.java
blob: 08966cee3a9e523f000659f1c6b1928613e73a69 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
package org.openecomp.sdc.be.datamodel.utils;

import org.junit.Test;
import org.openecomp.sdc.be.datamodel.api.CategoryTypeEnum;
import org.openecomp.sdc.be.datatypes.enums.ComponentTypeEnum;

public class NodeTypeConvertUtilsTest {

	@Test
	public void testGetCategoryNodeTypeByComponentParam() throws Exception {
		// test 1
		for (ComponentTypeEnum comp : ComponentTypeEnum.values()) {
			for (CategoryTypeEnum cat : CategoryTypeEnum.values()) {
				NodeTypeConvertUtils.getCategoryNodeTypeByComponentParam(comp, cat);
			}
		}

	}
}