Reformat PolicyEngineAPI test cases
[policy/engine.git] / PolicyEngineAPI / src / test / java / org / onap / policy / std / test / StdRemovedPolicyTest.java
1 /*-
2  * ============LICENSE_START=======================================================
3  * PolicyEngineAPI
4  * ================================================================================
5  * Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
6  * ================================================================================
7  * Modifications Copyright (C) 2019 Samsung
8  * ================================================================================
9  * Licensed under the Apache License, Version 2.0 (the "License");
10  * you may not use this file except in compliance with the License.
11  * You may obtain a copy of the License at
12  *
13  *      http://www.apache.org/licenses/LICENSE-2.0
14  *
15  * Unless required by applicable law or agreed to in writing, software
16  * distributed under the License is distributed on an "AS IS" BASIS,
17  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
18  * See the License for the specific language governing permissions and
19  * limitations under the License.
20  * ============LICENSE_END=========================================================
21  */
22
23 package org.onap.policy.std.test;
24
25 import org.junit.*;
26 import org.onap.policy.std.StdRemovedPolicy;
27 import static org.junit.Assert.*;
28
29 /**
30  * The class <code>StdRemovedPolicyTest</code> contains tests for the class
31  * <code>{@link StdRemovedPolicy}</code>.
32  *
33  * @generatedBy CodePro at 6/1/16 1:40 PM
34  * @version $Revision: 1.0 $
35  */
36 public class StdRemovedPolicyTest {
37     /**
38      * Run the StdRemovedPolicy() constructor test.
39      *
40      * @generatedBy CodePro at 6/1/16 1:40 PM
41      */
42     @Test
43     public void testStdRemovedPolicy_1() throws Exception {
44         StdRemovedPolicy result = new StdRemovedPolicy();
45         assertNotNull(result);
46         // add additional test code here
47     }
48
49     /**
50      * Run the String getPolicyName() method test.
51      *
52      * @throws Exception
53      *
54      * @generatedBy CodePro at 6/1/16 1:40 PM
55      */
56     @Test
57     public void testGetPolicyName_1() throws Exception {
58         StdRemovedPolicy fixture = new StdRemovedPolicy();
59         fixture.setVersionNo("");
60         fixture.setPolicyName("");
61
62         String result = fixture.getPolicyName();
63
64         // add additional test code here
65         assertEquals("", result);
66     }
67
68     /**
69      * Run the String getPolicyName() method test.
70      *
71      * @throws Exception
72      *
73      * @generatedBy CodePro at 6/1/16 1:40 PM
74      */
75     @Test
76     public void testGetPolicyName_2() throws Exception {
77         StdRemovedPolicy fixture = new StdRemovedPolicy();
78         fixture.setVersionNo("");
79         fixture.setPolicyName((String) null);
80
81         String result = fixture.getPolicyName();
82
83         // add additional test code here
84         assertEquals(null, result);
85     }
86
87     /**
88      * Run the String getPolicyName() method test.
89      *
90      * @throws Exception
91      *
92      * @generatedBy CodePro at 6/1/16 1:40 PM
93      */
94     @Test
95     public void testGetPolicyName_3() throws Exception {
96         StdRemovedPolicy fixture = new StdRemovedPolicy();
97         fixture.setVersionNo("");
98         fixture.setPolicyName("");
99
100         String result = fixture.getPolicyName();
101
102         // add additional test code here
103         assertEquals("", result);
104     }
105
106     /**
107      * Run the String getVersionNo() method test.
108      *
109      * @throws Exception
110      *
111      * @generatedBy CodePro at 6/1/16 1:40 PM
112      */
113     @Test
114     public void testGetVersionNo_1() throws Exception {
115         StdRemovedPolicy fixture = new StdRemovedPolicy();
116         fixture.setVersionNo("");
117         fixture.setPolicyName("");
118
119         String result = fixture.getVersionNo();
120
121         // add additional test code here
122         assertEquals("", result);
123     }
124
125     /**
126      * Run the void setPolicyName(String) method test.
127      *
128      * @throws Exception
129      *
130      * @generatedBy CodePro at 6/1/16 1:40 PM
131      */
132     @Test
133     public void testSetPolicyName_1() throws Exception {
134         StdRemovedPolicy fixture = new StdRemovedPolicy();
135         fixture.setVersionNo("");
136         fixture.setPolicyName("");
137         String policyName = "";
138
139         fixture.setPolicyName(policyName);
140
141         // add additional test code here
142     }
143
144     /**
145      * Run the void setVersionNo(String) method test.
146      *
147      * @throws Exception
148      *
149      * @generatedBy CodePro at 6/1/16 1:40 PM
150      */
151     @Test
152     public void testSetVersionNo_1() throws Exception {
153         StdRemovedPolicy fixture = new StdRemovedPolicy();
154         fixture.setVersionNo("");
155         fixture.setPolicyName("");
156         String versionNo = "";
157
158         fixture.setVersionNo(versionNo);
159
160         // add additional test code here
161     }
162
163     /**
164      * Perform pre-test initialization.
165      *
166      * @throws Exception if the initialization fails for some reason
167      *
168      * @generatedBy CodePro at 6/1/16 1:40 PM
169      */
170     @Before
171     public void setUp() throws Exception {
172         // add additional set up code here
173     }
174
175     /**
176      * Perform post-test clean-up.
177      *
178      * @throws Exception if the clean-up fails for some reason
179      *
180      * @generatedBy CodePro at 6/1/16 1:40 PM
181      */
182     @After
183     public void tearDown() throws Exception {
184         // Add additional tear down code here
185     }
186
187     /**
188      * Launch the test.
189      *
190      * @param args the command line arguments
191      *
192      * @generatedBy CodePro at 6/1/16 1:40 PM
193      */
194     public static void main(String[] args) {
195         new org.junit.runner.JUnitCore().run(StdRemovedPolicyTest.class);
196     }
197 }