aboutsummaryrefslogtreecommitdiffstats
path: root/common-app-api/src/test/java/org/openecomp/sdc/common/api/ArtifactTypeEnumTest.java
blob: 525080e53570510fc4e1f3880ab4fc751611e57f (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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
package org.openecomp.sdc.common.api;

import java.util.List;

import org.junit.Test;


public class ArtifactTypeEnumTest {

	private ArtifactTypeEnum createTestSubject() {
		return ArtifactTypeEnum.AAI_SERVICE_MODEL;
	}

	
	@Test
	public void testGetType() throws Exception {
		ArtifactTypeEnum testSubject;
		String result;

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

	
	@Test
	public void testSetType() throws Exception {
		ArtifactTypeEnum testSubject;
		String type = "";

		// default test
		testSubject = createTestSubject();
		testSubject.setType(type);
	}

	
	@Test
	public void testFindType() throws Exception {
		String type = "";
		ArtifactTypeEnum result;

		// default test
		result = ArtifactTypeEnum.findType(type);
	}

	
	@Test
	public void testGetAllTypes() throws Exception {
		List<String> result;

		// default test
		result = ArtifactTypeEnum.getAllTypes();
	}
}