2482c3015814532e52b97e15f291fdd0106d88bc
[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  * 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.onap.policy.std.test;
22
23 import org.junit.*;
24 import org.onap.policy.std.StdRemovedPolicy;
25
26 import static org.junit.Assert.*;
27
28 /**
29  * The class <code>StdRemovedPolicyTest</code> contains tests for the class <code>{@link StdRemovedPolicy}</code>.
30  *
31  * @generatedBy CodePro at 6/1/16 1:40 PM
32  * @version $Revision: 1.0 $
33  */
34 public class StdRemovedPolicyTest {
35         /**
36          * Run the StdRemovedPolicy() constructor test.
37          *
38          * @generatedBy CodePro at 6/1/16 1:40 PM
39          */
40         @Test
41         public void testStdRemovedPolicy_1()
42                 throws Exception {
43                 StdRemovedPolicy result = new StdRemovedPolicy();
44                 assertNotNull(result);
45                 // add additional test code here
46         }
47
48         /**
49          * Run the String getPolicyName() method test.
50          *
51          * @throws Exception
52          *
53          * @generatedBy CodePro at 6/1/16 1:40 PM
54          */
55         @Test
56         public void testGetPolicyName_1()
57                 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()
77                 throws Exception {
78                 StdRemovedPolicy fixture = new StdRemovedPolicy();
79                 fixture.setVersionNo("");
80                 fixture.setPolicyName((String) null);
81
82                 String result = fixture.getPolicyName();
83
84                 // add additional test code here
85                 assertEquals(null, result);
86         }
87
88         /**
89          * Run the String getPolicyName() method test.
90          *
91          * @throws Exception
92          *
93          * @generatedBy CodePro at 6/1/16 1:40 PM
94          */
95         @Test
96         public void testGetPolicyName_3()
97                 throws Exception {
98                 StdRemovedPolicy fixture = new StdRemovedPolicy();
99                 fixture.setVersionNo("");
100                 fixture.setPolicyName("");
101
102                 String result = fixture.getPolicyName();
103
104                 // add additional test code here
105                 assertEquals("", result);
106         }
107
108         /**
109          * Run the String getVersionNo() method test.
110          *
111          * @throws Exception
112          *
113          * @generatedBy CodePro at 6/1/16 1:40 PM
114          */
115         @Test
116         public void testGetVersionNo_1()
117                 throws Exception {
118                 StdRemovedPolicy fixture = new StdRemovedPolicy();
119                 fixture.setVersionNo("");
120                 fixture.setPolicyName("");
121
122                 String result = fixture.getVersionNo();
123
124                 // add additional test code here
125                 assertEquals("", result);
126         }
127
128         /**
129          * Run the void setPolicyName(String) method test.
130          *
131          * @throws Exception
132          *
133          * @generatedBy CodePro at 6/1/16 1:40 PM
134          */
135         @Test
136         public void testSetPolicyName_1()
137                 throws Exception {
138                 StdRemovedPolicy fixture = new StdRemovedPolicy();
139                 fixture.setVersionNo("");
140                 fixture.setPolicyName("");
141                 String policyName = "";
142
143                 fixture.setPolicyName(policyName);
144
145                 // add additional test code here
146         }
147
148         /**
149          * Run the void setVersionNo(String) method test.
150          *
151          * @throws Exception
152          *
153          * @generatedBy CodePro at 6/1/16 1:40 PM
154          */
155         @Test
156         public void testSetVersionNo_1()
157                 throws Exception {
158                 StdRemovedPolicy fixture = new StdRemovedPolicy();
159                 fixture.setVersionNo("");
160                 fixture.setPolicyName("");
161                 String versionNo = "";
162
163                 fixture.setVersionNo(versionNo);
164
165                 // add additional test code here
166         }
167
168         /**
169          * Perform pre-test initialization.
170          *
171          * @throws Exception
172          *         if the initialization fails for some reason
173          *
174          * @generatedBy CodePro at 6/1/16 1:40 PM
175          */
176         @Before
177         public void setUp()
178                 throws Exception {
179                 // add additional set up code here
180         }
181
182         /**
183          * Perform post-test clean-up.
184          *
185          * @throws Exception
186          *         if the clean-up fails for some reason
187          *
188          * @generatedBy CodePro at 6/1/16 1:40 PM
189          */
190         @After
191         public void tearDown()
192                 throws Exception {
193                 // Add additional tear down code here
194         }
195
196         /**
197          * Launch the test.
198          *
199          * @param args the command line arguments
200          *
201          * @generatedBy CodePro at 6/1/16 1:40 PM
202          */
203         public static void main(String[] args) {
204                 new org.junit.runner.JUnitCore().run(StdRemovedPolicyTest.class);
205         }
206 }