/*
 * This file was automatically generated by EvoSuite
 * Thu Sep 20 11:56:14 GMT 2018
 */

package uk.ac.sanger.artemis.chado;

import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import java.awt.HeadlessException;
import java.util.List;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.gmod.schema.sequence.FeatureCvTerm;
import org.junit.runner.RunWith;
import uk.ac.sanger.artemis.chado.ChadoDemo;
import uk.ac.sanger.artemis.chado.GmodDAO;
import uk.ac.sanger.artemis.util.ByteBuffer;

@RunWith(EvoRunner.class) @EvoRunnerParameters(mockJVMNonDeterminism = true, useVFS = true, useVNET = true, resetStaticState = true, useJEE = true) 
public class ChadoDemo_ESTest extends ChadoDemo_ESTest_scaffolding {


  @Test(timeout = 4000)
  public void test1()  throws Throwable  {
      ByteBuffer byteBuffer0 = new ByteBuffer();
      // Undeclared exception!
      try { 
        ChadoDemo.appendControlledVocabulary(byteBuffer0, (GmodDAO) null, (FeatureCvTerm) null, (List) null, (List) null, (List) null, false);
        fail("Expecting exception: NullPointerException");
      
      } catch(NullPointerException e) {
         //
         // no message in exception (getMessage() returned null)
         //
         verifyException("uk.ac.sanger.artemis.chado.ChadoDemo", e);
      }
  }

}
