content: /*
   * This file was automatically generated by UTestGen and EvoSuite
   * Tue Mar 19 17:52:14 GMT 2024
   */
  
  package org.apache.commons.math3.dfp;
  
  import org.junit.jupiter.api.Test;
  import static org.junit.jupiter.api.Assertions.*;
  import org.junit.jupiter.api.Timeout;
  import java.util.concurrent.TimeUnit;
  import static org.evosuite.runtime.EvoAssertions.*;
  import org.apache.commons.math3.dfp.DfpDec;
  import org.apache.commons.math3.dfp.DfpField;
  import org.evosuite.runtime.EvoRunner;
  import org.evosuite.runtime.EvoRunnerParameters;
  import org.junit.runner.RunWith;
  
  @RunWith(EvoRunner.class) @EvoRunnerParameters(mockJVMNonDeterminism = true, useVFS = true, useVNET = true, resetStaticState = true, separateClassLoader = true) 
  public class DfpDec_ESTest extends DfpDec_ESTest_scaffolding {
  
    @Test
    @Timeout(value = 4000 , unit = TimeUnit.MILLISECONDS)
    public void testFailsToCreateDfpDecThrowsNullPointerException() throws Throwable  {
        DfpDec dfpDec = null;
        try {
        // Attempt to create a new instance of DfpDec with null field
        dfpDec = new DfpDec((DfpField) null);
        fail("Expecting exception: NullPointerException");
        } catch(NullPointerException e) {
        // Verify that the expected exception is thrown when creating an instance with null field
        verifyException("org.apache.commons.math3.dfp.Dfp", e);}
    }
  }
  