Fixed License Issue in the Test Cases
[dcaegen2/services/mapper.git] / UniversalVesAdapter / src / test / java / org / onap / dcaegen2 / ves / domain / ves7_0 / AlarmAdditionalInformationTest.java
1 /*\r
2 * ============LICENSE_START=======================================================\r
3 * ONAP : DCAE\r
4 * ================================================================================\r
5 * Copyright 2018 TechMahindra\r
6 *=================================================================================\r
7 * Licensed under the Apache License, Version 2.0 (the "License");\r
8 * you may not use this file except in compliance with the License.\r
9 * You may obtain a copy of the License at\r
10 *\r
11 *     http://www.apache.org/licenses/LICENSE-2.0\r
12 *\r
13 * Unless required by applicable law or agreed to in writing, software\r
14 * distributed under the License is distributed on an "AS IS" BASIS,\r
15 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
16 * See the License for the specific language governing permissions and\r
17 * limitations under the License.\r
18 * ============LICENSE_END=========================================================\r
19 */\r
20 \r
21 package org.onap.dcaegen2.ves.domain.ves7_0;\r
22 \r
23 import java.util.Map;\r
24 import org.junit.Test;\r
25 \r
26 \r
27 public class AlarmAdditionalInformationTest {\r
28 \r
29   private AlarmAdditionalInformation createTestSubject() {\r
30     return new AlarmAdditionalInformation();\r
31   }\r
32 \r
33   @Test\r
34   public void testToString() throws Exception {\r
35     AlarmAdditionalInformation testSubject;\r
36     String result;\r
37 \r
38     // default test\r
39     testSubject = createTestSubject();\r
40     result = testSubject.toString();\r
41   }\r
42 \r
43   @Test\r
44   public void testGetAdditionalProperties() throws Exception {\r
45     AlarmAdditionalInformation testSubject;\r
46     Map<String, String> result;\r
47 \r
48     // default test\r
49     testSubject = createTestSubject();\r
50     result = testSubject.getAdditionalProperties();\r
51   }\r
52 \r
53   @Test\r
54   public void testSetAdditionalProperty() throws Exception {\r
55     AlarmAdditionalInformation testSubject;\r
56     String name = "";\r
57     String value = "";\r
58 \r
59     // default test\r
60     testSubject = createTestSubject();\r
61     testSubject.setAdditionalProperty(name, value);\r
62   }\r
63 \r
64   @Test\r
65   public void testHashCode() throws Exception {\r
66     AlarmAdditionalInformation testSubject;\r
67     int result;\r
68 \r
69     // default test\r
70     testSubject = createTestSubject();\r
71     result = testSubject.hashCode();\r
72   }\r
73 \r
74   @Test\r
75   public void testEquals() throws Exception {\r
76     AlarmAdditionalInformation testSubject;\r
77     AlarmAdditionalInformation testSubject2;\r
78     Object other = null;\r
79     boolean result;\r
80 \r
81     // default test\r
82     testSubject = createTestSubject();\r
83     testSubject2 = createTestSubject();\r
84     result = testSubject.equals(other);\r
85     result = testSubject.equals(testSubject);\r
86     result = testSubject.equals(testSubject2);\r
87   }\r
88 }\r