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.onap.policy.std.test;
24 import org.onap.policy.std.NotificationStore;
25 import org.onap.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 void recordNotification(StdPDPNotification) method test.
41 * @generatedBy CodePro at 6/1/16 1:40 PM
44 public void testRecordNotification_1()
46 StdPDPNotification notification = new StdPDPNotification();
48 NotificationStore.recordNotification(notification);
50 // add additional test code here
54 * Run the void recordNotification(StdPDPNotification) method test.
58 * @generatedBy CodePro at 6/1/16 1:40 PM
61 public void testRecordNotification_2()
63 StdPDPNotification notification = new StdPDPNotification();
65 NotificationStore.recordNotification(notification);
67 // add additional test code here
71 * Run the void recordNotification(StdPDPNotification) method test.
75 * @generatedBy CodePro at 6/1/16 1:40 PM
78 public void testRecordNotification_3()
80 StdPDPNotification notification = new StdPDPNotification();
82 NotificationStore.recordNotification(notification);
84 // add additional test code here
88 * Run the void recordNotification(StdPDPNotification) method test.
92 * @generatedBy CodePro at 6/1/16 1:40 PM
95 public void testRecordNotification_4()
97 StdPDPNotification notification = new StdPDPNotification();
99 NotificationStore.recordNotification(notification);
101 // add additional test code here
105 * Run the void recordNotification(StdPDPNotification) method test.
109 * @generatedBy CodePro at 6/1/16 1:40 PM
112 public void testRecordNotification_5()
114 StdPDPNotification notification = new StdPDPNotification();
116 NotificationStore.recordNotification(notification);
118 // add additional test code here
122 * Run the void recordNotification(StdPDPNotification) method test.
126 * @generatedBy CodePro at 6/1/16 1:40 PM
129 public void testRecordNotification_6()
131 StdPDPNotification notification = new StdPDPNotification();
133 NotificationStore.recordNotification(notification);
135 // add additional test code here
139 * Run the void recordNotification(StdPDPNotification) method test.
143 * @generatedBy CodePro at 6/1/16 1:40 PM
146 public void testRecordNotification_7()
148 StdPDPNotification notification = new StdPDPNotification();
150 NotificationStore.recordNotification(notification);
152 // add additional test code here
156 * Run the void recordNotification(StdPDPNotification) method test.
160 * @generatedBy CodePro at 6/1/16 1:40 PM
163 public void testRecordNotification_8()
165 StdPDPNotification notification = new StdPDPNotification();
167 NotificationStore.recordNotification(notification);
169 // add additional test code here
173 * Run the void recordNotification(StdPDPNotification) method test.
177 * @generatedBy CodePro at 6/1/16 1:40 PM
180 public void testRecordNotification_9()
182 StdPDPNotification notification = new StdPDPNotification();
184 NotificationStore.recordNotification(notification);
186 // add additional test code here
190 * Run the void recordNotification(StdPDPNotification) method test.
194 * @generatedBy CodePro at 6/1/16 1:40 PM
197 public void testRecordNotification_10()
199 StdPDPNotification notification = new StdPDPNotification();
201 NotificationStore.recordNotification(notification);
203 // add additional test code here
207 * Run the void recordNotification(StdPDPNotification) method test.
211 * @generatedBy CodePro at 6/1/16 1:40 PM
214 public void testRecordNotification_11()
216 StdPDPNotification notification = new StdPDPNotification();
218 NotificationStore.recordNotification(notification);
220 // add additional test code here
224 * Run the void recordNotification(StdPDPNotification) method test.
228 * @generatedBy CodePro at 6/1/16 1:40 PM
231 public void testRecordNotification_12()
233 StdPDPNotification notification = new StdPDPNotification();
235 NotificationStore.recordNotification(notification);
237 // add additional test code here
241 * Run the void recordNotification(StdPDPNotification) method test.
245 * @generatedBy CodePro at 6/1/16 1:40 PM
248 public void testRecordNotification_13()
250 StdPDPNotification notification = new StdPDPNotification();
252 NotificationStore.recordNotification(notification);
254 // add additional test code here
258 * Run the void recordNotification(StdPDPNotification) method test.
262 * @generatedBy CodePro at 6/1/16 1:40 PM
265 public void testRecordNotification_14()
267 StdPDPNotification notification = new StdPDPNotification();
269 NotificationStore.recordNotification(notification);
271 // add additional test code here
275 * Run the void recordNotification(StdPDPNotification) method test.
279 * @generatedBy CodePro at 6/1/16 1:40 PM
282 public void testRecordNotification_15()
284 StdPDPNotification notification = new StdPDPNotification();
286 NotificationStore.recordNotification(notification);
288 // add additional test code here
292 * Run the void recordNotification(StdPDPNotification) method test.
296 * @generatedBy CodePro at 6/1/16 1:40 PM
299 public void testRecordNotification_16()
301 StdPDPNotification notification = null;
303 NotificationStore.recordNotification(notification);
305 // add additional test code here
309 * Perform pre-test initialization.
312 * if the initialization fails for some reason
314 * @generatedBy CodePro at 6/1/16 1:40 PM
319 // add additional set up code here
323 * Perform post-test clean-up.
326 * if the clean-up fails for some reason
328 * @generatedBy CodePro at 6/1/16 1:40 PM
331 public void tearDown()
333 // Add additional tear down code here
339 * @param args the command line arguments
341 * @generatedBy CodePro at 6/1/16 1:40 PM
343 public static void main(String[] args) {
344 new org.junit.runner.JUnitCore().run(NotificationStoreTest.class);