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

import org.junit.Test;

public class AuditingActionEnumTest {

	private AuditingActionEnum createTestSubject() {
		return AuditingActionEnum.ACTIVATE_SERVICE_BY_API;
	}

	@Test
	public void testGetName() throws Exception {
		AuditingActionEnum testSubject;
		String result;

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

	@Test
	public void testGetAuditingEsType() throws Exception {
		AuditingActionEnum testSubject;
		String result;

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

	@Test
	public void testGetActionByName() throws Exception {
		String name = "";
		AuditingActionEnum result;

		// default test
		result = AuditingActionEnum.getActionByName(name);
	}
}