aboutsummaryrefslogtreecommitdiffstats
path: root/catalog-be/src/test/java/org/openecomp/sdc/be/impl/ServletUtilsTest.java
blob: be42541295eae6c3477982a37019daf8d53537be (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
package org.openecomp.sdc.be.impl;

import org.junit.Test;
import org.openecomp.sdc.be.user.IUserBusinessLogic;

import com.google.gson.Gson;

public class ServletUtilsTest {

	private ServletUtils createTestSubject() {
		return new ServletUtils();
	}

	@Test
	public void testGetComponentsUtils() throws Exception {
		ServletUtils testSubject;
		ComponentsUtils result;

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

	@Test
	public void testGetGson() throws Exception {
		ServletUtils testSubject;
		Gson result;

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

	@Test
	public void testGetUserAdmin() throws Exception {
		ServletUtils testSubject;
		IUserBusinessLogic result;

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