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

import com.google.gson.Gson;
import org.junit.Test;
import org.openecomp.sdc.be.user.IUserBusinessLogic;

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();
	}
}