summaryrefslogtreecommitdiffstats
path: root/common-be/src/test/java/org/openecomp/sdc/be/datatypes/enums/AssetTypeEnumTest.java
blob: b54f97fd8d98554ae38affcfe783e1d4e5f55bad (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
29
30
31
32
33
34
35
36
37
38
39
package org.openecomp.sdc.be.datatypes.enums;

import org.junit.Test;

public class AssetTypeEnumTest {

	private AssetTypeEnum createTestSubject() {
		return AssetTypeEnum.PRODUCTS;
	}

	@Test
	public void testGetValue() throws Exception {
		AssetTypeEnum testSubject;
		String result;

		// default test
		testSubject = createTestSubject();
		result = testSubject.getValue();
	}

	@Test
	public void testGetCorrespondingComponent() throws Exception {
		AssetTypeEnum testSubject;
		String result;

		// default test
		testSubject = createTestSubject();
		result = testSubject.getCorrespondingComponent();
	}

	@Test
	public void testConvertToComponentTypeEnum() throws Exception {
		String assetType = "products";
		ComponentTypeEnum result;

		// default test
		result = AssetTypeEnum.convertToComponentTypeEnum(assetType);
	}
}