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.test;
24 import org.openecomp.policy.api.PolicyType;
26 import static org.junit.Assert.*;
29 * The class <code>PolicyTypeTest</code> contains tests for the class <code>{@link PolicyType}</code>.
31 * @generatedBy CodePro at 6/1/16 1:41 PM
32 * @version $Revision: 1.0 $
34 public class PolicyTypeTest {
36 * Run the String toString() method test.
40 * @generatedBy CodePro at 6/1/16 1:41 PM
43 public void testToString_1()
45 PolicyType fixture = PolicyType.JSON;
47 String result = fixture.toString();
49 // add additional test code here
50 assertEquals("json", result);
54 * Perform pre-test initialization.
57 * if the initialization fails for some reason
59 * @generatedBy CodePro at 6/1/16 1:41 PM
64 // add additional set up code here
68 * Perform post-test clean-up.
71 * if the clean-up fails for some reason
73 * @generatedBy CodePro at 6/1/16 1:41 PM
76 public void tearDown()
78 // Add additional tear down code here
84 * @param args the command line arguments
86 * @generatedBy CodePro at 6/1/16 1:41 PM
88 public static void main(String[] args) {
89 new org.junit.runner.JUnitCore().run(PolicyTypeTest.class);