Refactoring Consolidation Service
[sdc.git] / catalog-be / src / test / java / org / openecomp / sdc / be / servlets / AttributeServletTest.java
1 package org.openecomp.sdc.be.servlets;
2
3 import javax.servlet.http.HttpServletRequest;
4 import javax.ws.rs.core.Response;
5
6 import org.junit.Test;
7 import org.openecomp.sdc.be.model.PropertyDefinition;
8 import org.openecomp.sdc.exception.ResponseFormat;
9
10 import com.google.common.base.Equivalence.Wrapper;
11
12 public class AttributeServletTest {
13
14         private AttributeServlet createTestSubject() {
15                 return new AttributeServlet();
16         }
17
18         
19         @Test
20         public void testCreateAttribute() throws Exception {
21                 AttributeServlet testSubject;
22                 String resourceId = "";
23                 String data = "";
24                 HttpServletRequest request = null;
25                 String userId = "";
26                 Response result;
27
28                 // default test
29                 testSubject = createTestSubject();
30         }
31
32         
33         @Test
34         public void testUpdateAttribute() throws Exception {
35                 AttributeServlet testSubject;
36                 String resourceId = "";
37                 String attributeId = "";
38                 String data = "";
39                 HttpServletRequest request = null;
40                 String userId = "";
41                 Response result;
42
43                 // default test
44                 testSubject = createTestSubject();
45         }
46
47         
48         @Test
49         public void testDeleteAttribute() throws Exception {
50                 AttributeServlet testSubject;
51                 String resourceId = "";
52                 String attributeId = "";
53                 HttpServletRequest request = null;
54                 String userId = "";
55                 Response result;
56
57                 // default test
58                 testSubject = createTestSubject();
59         }
60
61         
62         @Test
63         public void testBuildAttributeFromString() throws Exception {
64         AttributeServlet testSubject;String data = "";
65         Wrapper<PropertyDefinition> attributesWrapper = null;
66         Wrapper<ResponseFormat> errorWrapper = null;
67         
68         
69         // default test
70         }
71 }