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 static org.junit.Assert.assertNotNull;
\r 
  24 import org.junit.Test;
\r 
  27 public class MachineCheckExceptionArrayTest {
\r 
  29   private MachineCheckExceptionArray createTestSubject() {
\r 
  30     return new MachineCheckExceptionArray();
\r 
  34   public void testGetCorrectedMemoryErrors() throws Exception {
\r 
  35     MachineCheckExceptionArray testSubject;
\r 
  39     testSubject = createTestSubject();
\r 
  40     result = testSubject.getCorrectedMemoryErrors();
\r 
  44   public void testSetCorrectedMemoryErrors() throws Exception {
\r 
  45     MachineCheckExceptionArray testSubject;
\r 
  46     Double correctedMemoryErrors = null;
\r 
  49     testSubject = createTestSubject();
\r 
  50     testSubject.setCorrectedMemoryErrors(correctedMemoryErrors);
\r 
  54   public void testGetCorrectedMemoryErrorsIn1Hr() throws Exception {
\r 
  55     MachineCheckExceptionArray testSubject;
\r 
  59     testSubject = createTestSubject();
\r 
  60     result = testSubject.getCorrectedMemoryErrorsIn1Hr();
\r 
  64   public void testSetCorrectedMemoryErrorsIn1Hr() throws Exception {
\r 
  65     MachineCheckExceptionArray testSubject;
\r 
  66     Double correctedMemoryErrorsIn1Hr = null;
\r 
  69     testSubject = createTestSubject();
\r 
  70     testSubject.setCorrectedMemoryErrorsIn1Hr(correctedMemoryErrorsIn1Hr);
\r 
  74   public void testGetUncorrectedMemoryErrors() throws Exception {
\r 
  75     MachineCheckExceptionArray testSubject;
\r 
  79     testSubject = createTestSubject();
\r 
  80     result = testSubject.getUncorrectedMemoryErrors();
\r 
  84   public void testSetUncorrectedMemoryErrors() throws Exception {
\r 
  85     MachineCheckExceptionArray testSubject;
\r 
  86     Double uncorrectedMemoryErrors = null;
\r 
  89     testSubject = createTestSubject();
\r 
  90     testSubject.setUncorrectedMemoryErrors(uncorrectedMemoryErrors);
\r 
  94   public void testGetUncorrectedMemoryErrorsIn1Hr() throws Exception {
\r 
  95     MachineCheckExceptionArray testSubject;
\r 
  99     testSubject = createTestSubject();
\r 
 100     result = testSubject.getUncorrectedMemoryErrorsIn1Hr();
\r 
 104   public void testSetUncorrectedMemoryErrorsIn1Hr() throws Exception {
\r 
 105     MachineCheckExceptionArray testSubject;
\r 
 106     Double uncorrectedMemoryErrorsIn1Hr = null;
\r 
 109     testSubject = createTestSubject();
\r 
 110     testSubject.setUncorrectedMemoryErrorsIn1Hr(uncorrectedMemoryErrorsIn1Hr);
\r 
 114   public void testGetVmIdentifier() throws Exception {
\r 
 115     MachineCheckExceptionArray testSubject;
\r 
 119     testSubject = createTestSubject();
\r 
 120     result = testSubject.getVmIdentifier();
\r 
 124   public void testSetVmIdentifier() throws Exception {
\r 
 125     MachineCheckExceptionArray testSubject;
\r 
 126     String vmIdentifier = "";
\r 
 129     testSubject = createTestSubject();
\r 
 130     testSubject.setVmIdentifier(vmIdentifier);
\r 
 134   public void testToString() throws Exception {
\r 
 135     MachineCheckExceptionArray testSubject;
\r 
 139     testSubject = createTestSubject();
\r 
 140     result = testSubject.toString();
\r 
 144   public void testHashCode() throws Exception {
\r 
 145     MachineCheckExceptionArray testSubject;
\r 
 149     testSubject = createTestSubject();
\r 
 150     result = testSubject.hashCode();
\r 
 154   public void testEquals() throws Exception {
\r 
 155     MachineCheckExceptionArray testSubject;
\r 
 156     MachineCheckExceptionArray testSubject2;
\r 
 157     Object other = null;
\r 
 161     testSubject = createTestSubject();
\r 
 162     testSubject2 = createTestSubject();
\r 
 163     result = testSubject.equals(other);
\r 
 164     result = testSubject.equals(testSubject);
\r 
 165     result = testSubject.equals(testSubject2);
\r 
 166     assertNotNull(result);
\r