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

package uk.ac.sanger.artemis.components.variant;

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.components.variant.MultipleAlleleVariant;
import uk.ac.sanger.artemis.components.variant.VCFRecord;

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

  @Test(timeout = 4000)
  public void test0()  throws Throwable  {
      VCFRecord vCFRecord0 = new VCFRecord();
      vCFRecord0.setAlt("r");
      String string0 = MultipleAlleleVariant.getIUBCode(vCFRecord0);
      assertEquals("n", string0);
  }

  @Test(timeout = 4000)
  public void test1()  throws Throwable  {
      VCFRecord vCFRecord0 = new VCFRecord();
      // Undeclared exception!
      try { 
        MultipleAlleleVariant.getIUBCode(vCFRecord0);
        fail("Expecting exception: NullPointerException");
      
      } catch(NullPointerException e) {
         //
         // no message in exception (getMessage() returned null)
         //
         verifyException("uk.ac.sanger.artemis.components.variant.MultipleAlleleVariant", e);
      }
  }

  @Test(timeout = 4000)
  public void test2()  throws Throwable  {
      VCFRecord vCFRecord0 = new VCFRecord();
      vCFRecord0.setAlt("c,C,g");
      String string0 = MultipleAlleleVariant.getIUBCode(vCFRecord0);
      assertEquals("n", string0);
  }

  @Test(timeout = 4000)
  public void test3()  throws Throwable  {
      VCFRecord vCFRecord0 = new VCFRecord();
      vCFRecord0.setAlt("a,C,t");
      String string0 = MultipleAlleleVariant.getIUBCode(vCFRecord0);
      assertEquals("h", string0);
      assertNotNull(string0);
  }

  @Test(timeout = 4000)
  public void test4()  throws Throwable  {
      VCFRecord vCFRecord0 = new VCFRecord();
      vCFRecord0.setAlt("a,t");
      String string0 = MultipleAlleleVariant.getIUBCode(vCFRecord0);
      assertEquals("w", string0);
      assertNotNull(string0);
  }

  @Test(timeout = 4000)
  public void test5()  throws Throwable  {
      VCFRecord vCFRecord0 = new VCFRecord();
      vCFRecord0.setAlt("a,B");
      String string0 = MultipleAlleleVariant.getIUBCode(vCFRecord0);
      assertEquals("n", string0);
  }

  @Test(timeout = 4000)
  public void test6()  throws Throwable  {
      VCFRecord vCFRecord0 = new VCFRecord();
      vCFRecord0.setAlt("E,a");
      String string0 = MultipleAlleleVariant.getIUBCode(vCFRecord0);
      assertEquals("n", string0);
  }

  @Test(timeout = 4000)
  public void test7()  throws Throwable  {
      VCFRecord vCFRecord0 = new VCFRecord();
      vCFRecord0.setAlt("GWseaB.e");
      String string0 = MultipleAlleleVariant.getIUBCode(vCFRecord0);
      assertNull(string0);
  }

  @Test(timeout = 4000)
  public void test8()  throws Throwable  {
      VCFRecord vCFRecord0 = new VCFRecord();
      vCFRecord0.setAlt("a,C,L");
      String string0 = MultipleAlleleVariant.getIUBCode(vCFRecord0);
      assertNotNull(string0);
      assertEquals("n", string0);
  }

  @Test(timeout = 4000)
  public void test9()  throws Throwable  {
      MultipleAlleleVariant multipleAlleleVariant0 = new MultipleAlleleVariant();
  }
}
