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 MachineCheckExceptionArrayTest {
\r 
  24   private MachineCheckExceptionArray createTestSubject() {
\r 
  25     return new MachineCheckExceptionArray();
\r 
  29   public void testGetCorrectedMemoryErrors() throws Exception {
\r 
  30     MachineCheckExceptionArray testSubject;
\r 
  34     testSubject = createTestSubject();
\r 
  35     result = testSubject.getCorrectedMemoryErrors();
\r 
  39   public void testSetCorrectedMemoryErrors() throws Exception {
\r 
  40     MachineCheckExceptionArray testSubject;
\r 
  41     Double correctedMemoryErrors = null;
\r 
  44     testSubject = createTestSubject();
\r 
  45     testSubject.setCorrectedMemoryErrors(correctedMemoryErrors);
\r 
  49   public void testGetCorrectedMemoryErrorsIn1Hr() throws Exception {
\r 
  50     MachineCheckExceptionArray testSubject;
\r 
  54     testSubject = createTestSubject();
\r 
  55     result = testSubject.getCorrectedMemoryErrorsIn1Hr();
\r 
  59   public void testSetCorrectedMemoryErrorsIn1Hr() throws Exception {
\r 
  60     MachineCheckExceptionArray testSubject;
\r 
  61     Double correctedMemoryErrorsIn1Hr = null;
\r 
  64     testSubject = createTestSubject();
\r 
  65     testSubject.setCorrectedMemoryErrorsIn1Hr(correctedMemoryErrorsIn1Hr);
\r 
  69   public void testGetUncorrectedMemoryErrors() throws Exception {
\r 
  70     MachineCheckExceptionArray testSubject;
\r 
  74     testSubject = createTestSubject();
\r 
  75     result = testSubject.getUncorrectedMemoryErrors();
\r 
  79   public void testSetUncorrectedMemoryErrors() throws Exception {
\r 
  80     MachineCheckExceptionArray testSubject;
\r 
  81     Double uncorrectedMemoryErrors = null;
\r 
  84     testSubject = createTestSubject();
\r 
  85     testSubject.setUncorrectedMemoryErrors(uncorrectedMemoryErrors);
\r 
  89   public void testGetUncorrectedMemoryErrorsIn1Hr() throws Exception {
\r 
  90     MachineCheckExceptionArray testSubject;
\r 
  94     testSubject = createTestSubject();
\r 
  95     result = testSubject.getUncorrectedMemoryErrorsIn1Hr();
\r 
  99   public void testSetUncorrectedMemoryErrorsIn1Hr() throws Exception {
\r 
 100     MachineCheckExceptionArray testSubject;
\r 
 101     Double uncorrectedMemoryErrorsIn1Hr = null;
\r 
 104     testSubject = createTestSubject();
\r 
 105     testSubject.setUncorrectedMemoryErrorsIn1Hr(uncorrectedMemoryErrorsIn1Hr);
\r 
 109   public void testGetVmIdentifier() throws Exception {
\r 
 110     MachineCheckExceptionArray testSubject;
\r 
 114     testSubject = createTestSubject();
\r 
 115     result = testSubject.getVmIdentifier();
\r 
 119   public void testSetVmIdentifier() throws Exception {
\r 
 120     MachineCheckExceptionArray testSubject;
\r 
 121     String vmIdentifier = "";
\r 
 124     testSubject = createTestSubject();
\r 
 125     testSubject.setVmIdentifier(vmIdentifier);
\r 
 129   public void testToString() throws Exception {
\r 
 130     MachineCheckExceptionArray testSubject;
\r 
 134     testSubject = createTestSubject();
\r 
 135     result = testSubject.toString();
\r 
 139   public void testHashCode() throws Exception {
\r 
 140     MachineCheckExceptionArray testSubject;
\r 
 144     testSubject = createTestSubject();
\r 
 145     result = testSubject.hashCode();
\r 
 149   public void testEquals() throws Exception {
\r 
 150     MachineCheckExceptionArray testSubject;
\r 
 151     MachineCheckExceptionArray testSubject2;
\r 
 152     Object other = null;
\r 
 156     testSubject = createTestSubject();
\r 
 157     testSubject2 = createTestSubject();
\r 
 158     result = testSubject.equals(other);
\r 
 159     result = testSubject.equals(testSubject);
\r 
 160     result = testSubject.equals(testSubject2);
\r 
 161     assertNotNull(result);
\r