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;
23 import static org.junit.Assert.assertNotNull;
24 import static org.junit.Assert.assertNull;
26 import java.util.LinkedList;
27 import java.util.List;
29 import org.junit.After;
30 import org.junit.Before;
31 import org.junit.Test;
32 import org.openecomp.policy.api.NotificationScheme;
33 import org.openecomp.policy.api.PDPNotification;
34 import org.openecomp.policy.std.ManualClientEndUEB;
35 import org.openecomp.policy.std.StdPDPNotification;
38 * The class <code>ManualClientEndUEBTest</code> contains tests for the class <code>{@link ManualClientEndUEB}</code>.
40 * @generatedBy CodePro at 6/1/16 1:40 PM
41 * @version $Revision: 1.0 $
43 public class ManualClientEndUEBTest {
45 String resultJson = "{'test':'testing'}";
46 String json = "{\"test\":\"testing\"}";
47 StdPDPNotification notification = new StdPDPNotification();
48 ManualClientEndUEB mockManualClient = null;
50 * Perform pre-test initialization.
53 * if the initialization fails for some reason
55 * @generatedBy CodePro at 6/1/16 1:40 PM
60 String url = "http://test.com";
61 List<String> uebURLList = new LinkedList<String>();
66 * Run the ManualClientEndUEB() constructor test.
68 * @generatedBy CodePro at 6/1/16 1:40 PM
71 public void testManualClientEndUEB_1()
73 ManualClientEndUEB result = new ManualClientEndUEB();
74 assertNotNull(result);
75 // add additional test code here
79 * Run the PDPNotification result(NotificationScheme) method test.
83 * @generatedBy CodePro at 6/1/16 1:40 PM
86 public void testResult_1()
88 NotificationScheme scheme = NotificationScheme.AUTO_ALL_NOTIFICATIONS;
90 PDPNotification result = ManualClientEndUEB.result(scheme);
96 * Perform post-test clean-up.
99 * if the clean-up fails for some reason
101 * @generatedBy CodePro at 6/1/16 1:40 PM
104 public void tearDown()
106 // Add additional tear down code here
112 * @param args the command line arguments
114 * @generatedBy CodePro at 6/1/16 1:40 PM
116 public static void main(String[] args) {
117 new org.junit.runner.JUnitCore().run(ManualClientEndUEBTest.class);