Refactoring Consolidation Service
[sdc.git] / catalog-be / src / test / java / org / openecomp / sdc / be / servlets / ConfigMgrServletTest.java
1 package org.openecomp.sdc.be.servlets;
2
3 import javax.servlet.http.HttpServletRequest;
4
5 import org.junit.Test;
6
7 import com.datastax.driver.core.Configuration;
8
9 public class ConfigMgrServletTest {
10
11         private ConfigMgrServlet createTestSubject() {
12                 return new ConfigMgrServlet();
13         }
14
15         
16         @Test
17         public void testGetConfig() throws Exception {
18                 ConfigMgrServlet testSubject;
19                 HttpServletRequest request = null;
20                 String type = "";
21                 String result;
22
23                 // test 1
24                 testSubject = createTestSubject();
25                 type = null;
26
27
28                 // test 2
29                 testSubject = createTestSubject();
30                 type = "";
31
32                 // test 3
33                 testSubject = createTestSubject();
34                 type = "configuration";
35         }
36
37         
38         @Test
39         public void testSetConfig1() throws Exception {
40                 ConfigMgrServlet testSubject;
41                 HttpServletRequest request = null;
42                 Configuration configuration = null;
43                 String result;
44
45                 // default test
46                 testSubject = createTestSubject();
47         }
48
49         
50         @Test
51         public void testSetConfig2() throws Exception {
52                 ConfigMgrServlet testSubject;
53                 HttpServletRequest request = null;
54                 Configuration configuration = null;
55
56                 // default test
57                 testSubject = createTestSubject();
58         }
59
60         
61         @Test
62         public void testSetConfig3() throws Exception {
63                 ConfigMgrServlet testSubject;
64                 HttpServletRequest request = null;
65                 Configuration configuration = null;
66                 String result;
67
68                 // default test
69                 testSubject = createTestSubject();
70         }
71
72         
73         @Test
74         public void testSetConfig4() throws Exception {
75                 ConfigMgrServlet testSubject;
76                 HttpServletRequest request = null;
77                 Configuration configuration = null;
78
79                 // default test
80                 testSubject = createTestSubject();
81         }
82 }