add few more tests to BE components
[sdc.git] / catalog-be / src / test / java / org / openecomp / sdc / be / components / impl / AdditionalInformationBusinessLogicTest.java
1 package org.openecomp.sdc.be.components.impl;
2
3 import java.util.List;
4
5 import javax.annotation.Generated;
6 import javax.servlet.ServletContext;
7
8 import org.junit.Test;
9 import org.openecomp.sdc.be.datatypes.elements.AdditionalInfoParameterInfo;
10 import org.openecomp.sdc.be.datatypes.enums.NodeTypeEnum;
11 import org.openecomp.sdc.be.model.AdditionalInformationDefinition;
12 import org.openecomp.sdc.be.model.operations.api.IElementOperation;
13 import org.openecomp.sdc.exception.ResponseFormat;
14
15 import fj.data.Either;
16
17
18 public class AdditionalInformationBusinessLogicTest {
19
20         private AdditionalInformationBusinessLogic createTestSubject() {
21                 return new AdditionalInformationBusinessLogic();
22         }
23
24         
25         @Test
26         public void testGetElementDao() throws Exception {
27         Class<IElementOperation> class1 = null;
28         ServletContext context = null;
29         IElementOperation result;
30         
31         // default test
32         }
33
34         
35         @Test
36         public void testCreateAdditionalInformation() throws Exception {
37                 AdditionalInformationBusinessLogic testSubject;
38                 NodeTypeEnum nodeType = null;
39                 String resourceId = "";
40                 AdditionalInfoParameterInfo additionalInfoParameterInfo = null;
41                 String additionalInformationUid = "";
42                 String userId = "";
43                 Either<AdditionalInfoParameterInfo, ResponseFormat> result;
44
45                 // default test
46                 testSubject = createTestSubject();
47         }
48
49         
50         @Test
51         public void testValidateAndConvertValue() throws Exception {
52                 AdditionalInformationBusinessLogic testSubject;
53                 AdditionalInfoParameterInfo additionalInfoParameterInfo = null;
54                 String context = "";
55                 ResponseFormat result;
56
57                 // default test
58                 testSubject = createTestSubject();
59         }
60
61         
62         @Test
63         public void testValidateAndConvertKey() throws Exception {
64                 AdditionalInformationBusinessLogic testSubject;
65                 AdditionalInfoParameterInfo additionalInfoParameterInfo = null;
66                 String context = "";
67                 ResponseFormat result;
68
69                 // default test
70                 testSubject = createTestSubject();
71         }
72
73         
74         @Test
75         public void testValidateMaxSizeNotReached() throws Exception {
76                 AdditionalInformationBusinessLogic testSubject;
77                 NodeTypeEnum nodeType = null;
78                 String componentId = "";
79                 AdditionalInfoParameterInfo additionalInfoParameterInfo = null;
80                 ResponseFormat result;
81
82                 // default test
83                 testSubject = createTestSubject();
84         }
85
86         
87         @Test
88         public void testValidateValue() throws Exception {
89                 AdditionalInformationBusinessLogic testSubject;
90                 String value = "";
91                 Either<String, ResponseFormat> result;
92
93                 // default test
94                 testSubject = createTestSubject();
95         }
96
97         
98         @Test
99         public void testFindAdditionInformationKey() throws Exception {
100         AdditionalInformationBusinessLogic testSubject;List<AdditionalInfoParameterInfo> parameters = null;
101         String key = "";
102         AdditionalInfoParameterInfo result;
103         
104         // default test
105         }
106
107         
108         @Test
109         public void testValidateAndNormalizeKey() throws Exception {
110                 AdditionalInformationBusinessLogic testSubject;
111                 String key = "";
112                 Either<String, ResponseFormat> result;
113
114                 // default test
115                 testSubject = createTestSubject();
116         }
117
118         
119         @Test
120         public void testUpdateAdditionalInformation() throws Exception {
121                 AdditionalInformationBusinessLogic testSubject;
122                 NodeTypeEnum nodeType = null;
123                 String resourceId = "";
124                 AdditionalInfoParameterInfo additionalInfoParameterInfo = null;
125                 String additionalInformationUid = "";
126                 String userId = "";
127                 Either<AdditionalInfoParameterInfo, ResponseFormat> result;
128
129                 // default test
130                 testSubject = createTestSubject();
131         }
132
133         
134         @Test
135         public void testDeleteAdditionalInformation() throws Exception {
136                 AdditionalInformationBusinessLogic testSubject;
137                 NodeTypeEnum nodeType = null;
138                 String resourceId = "";
139                 AdditionalInfoParameterInfo additionalInfoParameterInfo = null;
140                 String additionalInformationUid = "";
141                 String userId = "";
142                 Either<AdditionalInfoParameterInfo, ResponseFormat> result;
143
144                 // default test
145                 testSubject = createTestSubject();
146         }
147
148         
149         @Test
150         public void testGetAdditionalInformation() throws Exception {
151                 AdditionalInformationBusinessLogic testSubject;
152                 NodeTypeEnum nodeType = null;
153                 String resourceId = "";
154                 AdditionalInfoParameterInfo additionalInfoParameterInfo = null;
155                 String additionalInformationUid = "";
156                 String userId = "";
157                 Either<AdditionalInfoParameterInfo, ResponseFormat> result;
158
159                 // default test
160                 testSubject = createTestSubject();
161         }
162
163         
164         @Test
165         public void testGetAllAdditionalInformation() throws Exception {
166                 AdditionalInformationBusinessLogic testSubject;
167                 NodeTypeEnum nodeType = null;
168                 String resourceId = "";
169                 String additionalInformationUid = "";
170                 String userId = "";
171                 Either<AdditionalInformationDefinition, ResponseFormat> result;
172
173                 // default test
174                 testSubject = createTestSubject();
175         }
176
177         
178         @Test
179         public void testVerifyCanWorkOnComponent() throws Exception {
180                 AdditionalInformationBusinessLogic testSubject;
181                 NodeTypeEnum nodeType = null;
182                 String resourceId = "";
183                 String userId = "";
184                 ResponseFormat result;
185
186                 // default test
187         }
188 }