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
20 package org.onap.dcaegen2.ves.domain.ves7_0;
\r
22 import static org.junit.Assert.assertNotNull;
\r
23 import org.junit.Test;
\r
26 public class IpmiGlobalAggregateTemperatureMarginArrayTest {
\r
28 private IpmiGlobalAggregateTemperatureMarginArray createTestSubject() {
\r
29 return new IpmiGlobalAggregateTemperatureMarginArray();
\r
33 public void testGetIpmiGlobalAggregateTemperatureMarginIdentifier() throws Exception {
\r
34 IpmiGlobalAggregateTemperatureMarginArray testSubject;
\r
38 testSubject = createTestSubject();
\r
39 result = testSubject.getIpmiGlobalAggregateTemperatureMarginIdentifier();
\r
43 public void testSetIpmiGlobalAggregateTemperatureMarginIdentifier() throws Exception {
\r
44 IpmiGlobalAggregateTemperatureMarginArray testSubject;
\r
45 String ipmiGlobalAggregateTemperatureMarginIdentifier = "";
\r
48 testSubject = createTestSubject();
\r
49 testSubject.setIpmiGlobalAggregateTemperatureMarginIdentifier(
\r
50 ipmiGlobalAggregateTemperatureMarginIdentifier);
\r
54 public void testGetGlobalAggregateTemperatureMargin() throws Exception {
\r
55 IpmiGlobalAggregateTemperatureMarginArray testSubject;
\r
59 testSubject = createTestSubject();
\r
60 result = testSubject.getGlobalAggregateTemperatureMargin();
\r
64 public void testSetGlobalAggregateTemperatureMargin() throws Exception {
\r
65 IpmiGlobalAggregateTemperatureMarginArray testSubject;
\r
66 Double globalAggregateTemperatureMargin = null;
\r
69 testSubject = createTestSubject();
\r
70 testSubject.setGlobalAggregateTemperatureMargin(globalAggregateTemperatureMargin);
\r
74 public void testToString() throws Exception {
\r
75 IpmiGlobalAggregateTemperatureMarginArray testSubject;
\r
79 testSubject = createTestSubject();
\r
80 result = testSubject.toString();
\r
84 public void testHashCode() throws Exception {
\r
85 IpmiGlobalAggregateTemperatureMarginArray testSubject;
\r
89 testSubject = createTestSubject();
\r
90 result = testSubject.hashCode();
\r
94 public void testEquals() throws Exception {
\r
95 IpmiGlobalAggregateTemperatureMarginArray testSubject;
\r
96 IpmiGlobalAggregateTemperatureMarginArray testSubject2;
\r
97 Object other = null;
\r
101 testSubject = createTestSubject();
\r
102 testSubject2 = createTestSubject();
\r
103 result = testSubject.equals(other);
\r
104 result = testSubject.equals(testSubject);
\r
105 result = testSubject.equals(testSubject2);
\r
106 assertNotNull(result);
\r