re base code
[sdc.git] / catalog-be / src / test / java / org / openecomp / sdc / be / impl / ServletUtilsTest.java
1 package org.openecomp.sdc.be.impl;
2
3 import com.google.gson.Gson;
4 import org.junit.Test;
5 import org.openecomp.sdc.be.user.IUserBusinessLogic;
6
7 public class ServletUtilsTest {
8
9         private ServletUtils createTestSubject() {
10                 return new ServletUtils();
11         }
12
13         @Test
14         public void testGetComponentsUtils() throws Exception {
15                 ServletUtils testSubject;
16                 ComponentsUtils result;
17
18                 // default test
19                 testSubject = createTestSubject();
20                 result = testSubject.getComponentsUtils();
21         }
22
23         @Test
24         public void testGetGson() throws Exception {
25                 ServletUtils testSubject;
26                 Gson result;
27
28                 // default test
29                 testSubject = createTestSubject();
30                 result = testSubject.getGson();
31         }
32
33         @Test
34         public void testGetUserAdmin() throws Exception {
35                 ServletUtils testSubject;
36                 IUserBusinessLogic result;
37
38                 // default test
39                 testSubject = createTestSubject();
40                 result = testSubject.getUserAdmin();
41         }
42 }