/*
 * This file was automatically generated by EvoSuite
 * Thu Sep 20 13:32:38 GMT 2018
 */

package uk.ac.sanger.artemis.io;

import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
import uk.ac.sanger.artemis.io.QualifierInfo;
import uk.ac.sanger.artemis.io.QualifierInfoHash;
import uk.ac.sanger.artemis.util.StringVector;

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

  @Test(timeout = 4000)
  public void test0()  throws Throwable  {
      QualifierInfoHash qualifierInfoHash0 = new QualifierInfoHash();
      // Undeclared exception!
      try { 
        qualifierInfoHash0.get((String) null);
        fail("Expecting exception: NullPointerException");
      
      } catch(NullPointerException e) {
         //
         // no message in exception (getMessage() returned null)
         //
      }
  }

  @Test(timeout = 4000)
  public void test1()  throws Throwable  {
      QualifierInfoHash qualifierInfoHash0 = new QualifierInfoHash();
      qualifierInfoHash0.names();
      StringVector stringVector0 = qualifierInfoHash0.names();
      assertEquals("[]", stringVector0.toString());
  }

  @Test(timeout = 4000)
  public void test2()  throws Throwable  {
      QualifierInfoHash qualifierInfoHash0 = new QualifierInfoHash();
      // Undeclared exception!
      try { 
        qualifierInfoHash0.put((QualifierInfo) null);
        fail("Expecting exception: NullPointerException");
      
      } catch(NullPointerException e) {
         //
         // no message in exception (getMessage() returned null)
         //
         verifyException("uk.ac.sanger.artemis.io.QualifierInfoHash", e);
      }
  }

  @Test(timeout = 4000)
  public void test3()  throws Throwable  {
      QualifierInfoHash qualifierInfoHash0 = new QualifierInfoHash();
      QualifierInfoHash qualifierInfoHash1 = qualifierInfoHash0.copy();
      assertNotSame(qualifierInfoHash1, qualifierInfoHash0);
  }

  @Test(timeout = 4000)
  public void test4()  throws Throwable  {
      QualifierInfoHash qualifierInfoHash0 = new QualifierInfoHash();
      QualifierInfo qualifierInfo0 = qualifierInfoHash0.get("a a^ g g c a c g  c hc a t c gna c t\"c");
      assertNull(qualifierInfo0);
  }

  @Test(timeout = 4000)
  public void test5()  throws Throwable  {
      QualifierInfoHash qualifierInfoHash0 = new QualifierInfoHash();
      int int0 = qualifierInfoHash0.size();
      assertEquals(0, int0);
  }
}
