2 * ============LICENSE_START=======================================================
\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
11 * http://www.apache.org/licenses/LICENSE-2.0
\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
21 package org.onap.dcaegen2.ves.domain.ves7_0;
\r
23 import java.util.Map;
\r
24 import org.junit.Test;
\r
27 public class AlarmAdditionalInformationTest {
\r
29 private AlarmAdditionalInformation createTestSubject() {
\r
30 return new AlarmAdditionalInformation();
\r
34 public void testToString() throws Exception {
\r
35 AlarmAdditionalInformation testSubject;
\r
39 testSubject = createTestSubject();
\r
40 result = testSubject.toString();
\r
44 public void testGetAdditionalProperties() throws Exception {
\r
45 AlarmAdditionalInformation testSubject;
\r
46 Map<String, String> result;
\r
49 testSubject = createTestSubject();
\r
50 result = testSubject.getAdditionalProperties();
\r
54 public void testSetAdditionalProperty() throws Exception {
\r
55 AlarmAdditionalInformation testSubject;
\r
60 testSubject = createTestSubject();
\r
61 testSubject.setAdditionalProperty(name, value);
\r
65 public void testHashCode() throws Exception {
\r
66 AlarmAdditionalInformation testSubject;
\r
70 testSubject = createTestSubject();
\r
71 result = testSubject.hashCode();
\r
75 public void testEquals() throws Exception {
\r
76 AlarmAdditionalInformation testSubject;
\r
77 AlarmAdditionalInformation testSubject2;
\r
78 Object other = null;
\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