2 * ============LICENSE_START======================================================= ONAP : DCAE
\r
3 * ================================================================================ Copyright 2018
\r
4 * TechMahindra =================================================================================
\r
5 * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
\r
6 * in compliance with the License. You may obtain a copy of the License at
\r
8 * http://www.apache.org/licenses/LICENSE-2.0
\r
10 * Unless required by applicable law or agreed to in writing, software distributed under the License
\r
11 * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
\r
12 * or implied. See the License for the specific language governing permissions and limitations under
\r
13 * the License. ============LICENSE_END=========================================================
\r
16 package org.onap.dcaegen2.ves.domain.ves7_0;
\r
18 import static org.junit.Assert.assertNotNull;
\r
19 import org.junit.Test;
\r
22 public class IpmiGlobalAggregateTemperatureMarginArrayTest {
\r
24 private IpmiGlobalAggregateTemperatureMarginArray createTestSubject() {
\r
25 return new IpmiGlobalAggregateTemperatureMarginArray();
\r
29 public void testGetIpmiGlobalAggregateTemperatureMarginIdentifier() throws Exception {
\r
30 IpmiGlobalAggregateTemperatureMarginArray testSubject;
\r
34 testSubject = createTestSubject();
\r
35 result = testSubject.getIpmiGlobalAggregateTemperatureMarginIdentifier();
\r
39 public void testSetIpmiGlobalAggregateTemperatureMarginIdentifier() throws Exception {
\r
40 IpmiGlobalAggregateTemperatureMarginArray testSubject;
\r
41 String ipmiGlobalAggregateTemperatureMarginIdentifier = "";
\r
44 testSubject = createTestSubject();
\r
45 testSubject.setIpmiGlobalAggregateTemperatureMarginIdentifier(
\r
46 ipmiGlobalAggregateTemperatureMarginIdentifier);
\r
50 public void testGetGlobalAggregateTemperatureMargin() throws Exception {
\r
51 IpmiGlobalAggregateTemperatureMarginArray testSubject;
\r
55 testSubject = createTestSubject();
\r
56 result = testSubject.getGlobalAggregateTemperatureMargin();
\r
60 public void testSetGlobalAggregateTemperatureMargin() throws Exception {
\r
61 IpmiGlobalAggregateTemperatureMarginArray testSubject;
\r
62 Double globalAggregateTemperatureMargin = null;
\r
65 testSubject = createTestSubject();
\r
66 testSubject.setGlobalAggregateTemperatureMargin(globalAggregateTemperatureMargin);
\r
70 public void testToString() throws Exception {
\r
71 IpmiGlobalAggregateTemperatureMarginArray testSubject;
\r
75 testSubject = createTestSubject();
\r
76 result = testSubject.toString();
\r
80 public void testHashCode() throws Exception {
\r
81 IpmiGlobalAggregateTemperatureMarginArray testSubject;
\r
85 testSubject = createTestSubject();
\r
86 result = testSubject.hashCode();
\r
90 public void testEquals() throws Exception {
\r
91 IpmiGlobalAggregateTemperatureMarginArray testSubject;
\r
92 IpmiGlobalAggregateTemperatureMarginArray testSubject2;
\r
93 Object other = null;
\r
97 testSubject = createTestSubject();
\r
98 testSubject2 = createTestSubject();
\r
99 result = testSubject.equals(other);
\r
100 result = testSubject.equals(testSubject);
\r
101 result = testSubject.equals(testSubject2);
\r
102 assertNotNull(result);
\r