Refactoring Consolidation Service
[sdc.git] / catalog-be / src / test / java / org / openecomp / sdc / be / servlets / PropertyServletTest.java
1 package org.openecomp.sdc.be.servlets;
2
3 import java.util.Map;
4
5 import javax.servlet.ServletContext;
6 import javax.servlet.http.HttpServletRequest;
7 import javax.ws.rs.core.Response;
8
9 import org.codehaus.jettison.json.JSONObject;
10 import org.junit.Test;
11 import org.openecomp.sdc.be.components.impl.PropertyBusinessLogic;
12 import org.openecomp.sdc.be.dao.api.ActionStatus;
13 import org.openecomp.sdc.be.model.PropertyDefinition;
14
15 import fj.data.Either;
16
17 public class PropertyServletTest {
18
19         private PropertyServlet createTestSubject() {
20                 return new PropertyServlet();
21         }
22
23         
24         @Test
25         public void testCreateProperty() throws Exception {
26                 PropertyServlet testSubject;
27                 String resourceId = "";
28                 String data = "";
29                 HttpServletRequest request = null;
30                 String userId = "";
31                 Response result;
32
33                 // default test
34                 testSubject = createTestSubject();
35         }
36
37         
38         @Test
39         public void testGetProperty() throws Exception {
40                 PropertyServlet testSubject;
41                 String resourceId = "";
42                 String propertyId = "";
43                 HttpServletRequest request = null;
44                 String userId = "";
45                 Response result;
46
47                 // default test
48                 testSubject = createTestSubject();
49         }
50
51         
52         @Test
53         public void testDeleteProperty() throws Exception {
54                 PropertyServlet testSubject;
55                 String resourceId = "";
56                 String propertyId = "";
57                 HttpServletRequest request = null;
58                 String userId = "";
59                 Response result;
60
61                 // default test
62                 testSubject = createTestSubject();
63         }
64
65         
66         @Test
67         public void testUpdateProperty() throws Exception {
68                 PropertyServlet testSubject;
69                 String resourceId = "";
70                 String propertyId = "";
71                 String data = "";
72                 HttpServletRequest request = null;
73                 String userId = "";
74                 Response result;
75
76                 // default test
77                 testSubject = createTestSubject();
78         }
79
80         
81         @Test
82         public void testGetPropertyModel() throws Exception {
83                 PropertyServlet testSubject;
84                 String resourceId = "";
85                 String data = "";
86                 Either<Map<String, PropertyDefinition>, ActionStatus> result;
87
88                 // default test
89                 testSubject = createTestSubject();
90         }
91
92         
93
94
95         
96         @Test
97         public void testGetPropertyDefinitionJSONObject() throws Exception {
98                 PropertyServlet testSubject;
99                 PropertyDefinition propertyDefinition = null;
100                 JSONObject result;
101
102                 // default test
103                 testSubject = createTestSubject();
104         }
105
106         
107         @Test
108         public void testGetPropertyBL() throws Exception {
109                 PropertyServlet testSubject;
110                 ServletContext context = null;
111                 PropertyBusinessLogic result;
112
113                 // default test
114                 testSubject = createTestSubject();
115         }
116 }