2 * ============LICENSE_START=======================================================
4 * ================================================================================
5 * Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
6 * ================================================================================
7 * Licensed under the Apache License, Version 2.0 (the "License");
8 * you may not use this file except in compliance with the License.
9 * You may obtain a copy of the License at
11 * http://www.apache.org/licenses/LICENSE-2.0
13 * Unless required by applicable law or agreed to in writing, software
14 * distributed under the License is distributed on an "AS IS" BASIS,
15 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16 * See the License for the specific language governing permissions and
17 * limitations under the License.
18 * ============LICENSE_END=========================================================
21 package org.openecomp.policy.std.test;
24 import org.openecomp.policy.std.NotificationStore;
25 import org.openecomp.policy.std.StdPDPNotification;
27 import static org.junit.Assert.*;
30 * The class <code>NotificationStoreTest</code> contains tests for the class <code>{@link NotificationStore}</code>.
32 * @generatedBy CodePro at 6/1/16 1:40 PM
33 * @version $Revision: 1.0 $
35 public class NotificationStoreTest {
37 * Run the NotificationStore() constructor test.
39 * @generatedBy CodePro at 6/1/16 1:40 PM
42 public void testNotificationStore_1()
44 NotificationStore result = new NotificationStore();
45 assertNotNull(result);
46 // add additional test code here
50 * Run the void recordNotification(StdPDPNotification) method test.
54 * @generatedBy CodePro at 6/1/16 1:40 PM
57 public void testRecordNotification_1()
59 StdPDPNotification notification = new StdPDPNotification();
61 NotificationStore.recordNotification(notification);
63 // add additional test code here
67 * Run the void recordNotification(StdPDPNotification) method test.
71 * @generatedBy CodePro at 6/1/16 1:40 PM
74 public void testRecordNotification_2()
76 StdPDPNotification notification = new StdPDPNotification();
78 NotificationStore.recordNotification(notification);
80 // add additional test code here
84 * Run the void recordNotification(StdPDPNotification) method test.
88 * @generatedBy CodePro at 6/1/16 1:40 PM
91 public void testRecordNotification_3()
93 StdPDPNotification notification = new StdPDPNotification();
95 NotificationStore.recordNotification(notification);
97 // add additional test code here
101 * Run the void recordNotification(StdPDPNotification) method test.
105 * @generatedBy CodePro at 6/1/16 1:40 PM
108 public void testRecordNotification_4()
110 StdPDPNotification notification = new StdPDPNotification();
112 NotificationStore.recordNotification(notification);
114 // add additional test code here
118 * Run the void recordNotification(StdPDPNotification) method test.
122 * @generatedBy CodePro at 6/1/16 1:40 PM
125 public void testRecordNotification_5()
127 StdPDPNotification notification = new StdPDPNotification();
129 NotificationStore.recordNotification(notification);
131 // add additional test code here
135 * Run the void recordNotification(StdPDPNotification) method test.
139 * @generatedBy CodePro at 6/1/16 1:40 PM
142 public void testRecordNotification_6()
144 StdPDPNotification notification = new StdPDPNotification();
146 NotificationStore.recordNotification(notification);
148 // add additional test code here
152 * Run the void recordNotification(StdPDPNotification) method test.
156 * @generatedBy CodePro at 6/1/16 1:40 PM
159 public void testRecordNotification_7()
161 StdPDPNotification notification = new StdPDPNotification();
163 NotificationStore.recordNotification(notification);
165 // add additional test code here
169 * Run the void recordNotification(StdPDPNotification) method test.
173 * @generatedBy CodePro at 6/1/16 1:40 PM
176 public void testRecordNotification_8()
178 StdPDPNotification notification = new StdPDPNotification();
180 NotificationStore.recordNotification(notification);
182 // add additional test code here
186 * Run the void recordNotification(StdPDPNotification) method test.
190 * @generatedBy CodePro at 6/1/16 1:40 PM
193 public void testRecordNotification_9()
195 StdPDPNotification notification = new StdPDPNotification();
197 NotificationStore.recordNotification(notification);
199 // add additional test code here
203 * Run the void recordNotification(StdPDPNotification) method test.
207 * @generatedBy CodePro at 6/1/16 1:40 PM
210 public void testRecordNotification_10()
212 StdPDPNotification notification = new StdPDPNotification();
214 NotificationStore.recordNotification(notification);
216 // add additional test code here
220 * Run the void recordNotification(StdPDPNotification) method test.
224 * @generatedBy CodePro at 6/1/16 1:40 PM
227 public void testRecordNotification_11()
229 StdPDPNotification notification = new StdPDPNotification();
231 NotificationStore.recordNotification(notification);
233 // add additional test code here
237 * Run the void recordNotification(StdPDPNotification) method test.
241 * @generatedBy CodePro at 6/1/16 1:40 PM
244 public void testRecordNotification_12()
246 StdPDPNotification notification = new StdPDPNotification();
248 NotificationStore.recordNotification(notification);
250 // add additional test code here
254 * Run the void recordNotification(StdPDPNotification) method test.
258 * @generatedBy CodePro at 6/1/16 1:40 PM
261 public void testRecordNotification_13()
263 StdPDPNotification notification = new StdPDPNotification();
265 NotificationStore.recordNotification(notification);
267 // add additional test code here
271 * Run the void recordNotification(StdPDPNotification) method test.
275 * @generatedBy CodePro at 6/1/16 1:40 PM
278 public void testRecordNotification_14()
280 StdPDPNotification notification = new StdPDPNotification();
282 NotificationStore.recordNotification(notification);
284 // add additional test code here
288 * Run the void recordNotification(StdPDPNotification) method test.
292 * @generatedBy CodePro at 6/1/16 1:40 PM
295 public void testRecordNotification_15()
297 StdPDPNotification notification = new StdPDPNotification();
299 NotificationStore.recordNotification(notification);
301 // add additional test code here
305 * Run the void recordNotification(StdPDPNotification) method test.
309 * @generatedBy CodePro at 6/1/16 1:40 PM
312 public void testRecordNotification_16()
314 StdPDPNotification notification = null;
316 NotificationStore.recordNotification(notification);
318 // add additional test code here
322 * Perform pre-test initialization.
325 * if the initialization fails for some reason
327 * @generatedBy CodePro at 6/1/16 1:40 PM
332 // add additional set up code here
336 * Perform post-test clean-up.
339 * if the clean-up fails for some reason
341 * @generatedBy CodePro at 6/1/16 1:40 PM
344 public void tearDown()
346 // Add additional tear down code here
352 * @param args the command line arguments
354 * @generatedBy CodePro at 6/1/16 1:40 PM
356 public static void main(String[] args) {
357 new org.junit.runner.JUnitCore().run(NotificationStoreTest.class);