Policy TestSuite Enabled
[policy/engine.git] / PolicyEngineAPI / src / test / java / org / openecomp / policy / std / test / ManualClientEndTest.java
1 /*-
2  * ============LICENSE_START=======================================================
3  * PolicyEngineAPI
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
10  * 
11  *      http://www.apache.org/licenses/LICENSE-2.0
12  * 
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=========================================================
19  */
20
21 package org.openecomp.policy.std.test;
22
23 import static org.junit.Assert.assertNotNull;
24 import static org.junit.Assert.assertNull;
25
26 import org.junit.After;
27 import org.junit.Before;
28 import org.junit.Test;
29 import org.openecomp.policy.api.NotificationScheme;
30 import org.openecomp.policy.api.PDPNotification;
31 import org.openecomp.policy.std.ManualClientEnd;
32
33 /**
34  * The class <code>ManualClientEndTest</code> contains tests for the class <code>{@link ManualClientEnd}</code>.
35  *
36  * @generatedBy CodePro at 6/1/16 1:41 PM
37  * @version $Revision: 1.0 $
38  */
39 public class ManualClientEndTest {
40         /**
41          * Run the ManualClientEnd() constructor test.
42          *
43          * @generatedBy CodePro at 6/1/16 1:41 PM
44          */
45         @Test
46         public void testManualClientEnd_1()
47                 throws Exception {
48                 ManualClientEnd result = new ManualClientEnd();
49                 assertNotNull(result);
50                 // add additional test code here
51         }
52
53
54         /**
55          * Run the PDPNotification result(NotificationScheme) method test.
56          *
57          * @throws Exception
58          *
59          * @generatedBy CodePro at 6/1/16 1:41 PM
60          */
61         @Test
62         public void testResult_1()
63                 throws Exception {
64                 NotificationScheme scheme = NotificationScheme.AUTO_ALL_NOTIFICATIONS;
65
66                 PDPNotification result = ManualClientEnd.result(scheme);
67
68                 assertNull(result);
69         }
70
71
72         /**
73          * Run the void start(String) method test.
74          *
75          * @throws Exception
76          *
77          * @generatedBy CodePro at 6/1/16 1:41 PM
78          */
79         @Test
80         public void testStart_1()
81                 throws Exception {
82                 String url = "";
83
84                 ManualClientEnd.start(url);
85
86         }
87
88         /**
89          * Perform pre-test initialization.
90          *
91          * @throws Exception
92          *         if the initialization fails for some reason
93          *
94          * @generatedBy CodePro at 6/1/16 1:41 PM
95          */
96         @Before
97         public void setUp()
98                 throws Exception {
99                 // add additional set up code here
100         }
101
102         /**
103          * Perform post-test clean-up.
104          *
105          * @throws Exception
106          *         if the clean-up fails for some reason
107          *
108          * @generatedBy CodePro at 6/1/16 1:41 PM
109          */
110         @After
111         public void tearDown()
112                 throws Exception {
113                 // Add additional tear down code here
114         }
115
116         /**
117          * Launch the test.
118          *
119          * @param args the command line arguments
120          *
121          * @generatedBy CodePro at 6/1/16 1:41 PM
122          */
123         public static void main(String[] args) {
124                 new org.junit.runner.JUnitCore().run(ManualClientEndTest.class);
125         }
126 }