/*
 * This file was automatically generated by EvoSuite
 * Wed Sep 19 22:44:16 GMT 2018
 */

package org.gmod.schema.sequence;

import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.shaded.org.mockito.Mockito.*;
import java.util.Set;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.evosuite.runtime.ViolatedAssumptionAnswer;
import org.gmod.schema.sequence.Feature;
import org.gmod.schema.sequence.FeatureLoc;
import org.gmod.schema.sequence.FeatureLocPub;
import org.junit.runner.RunWith;

@RunWith(EvoRunner.class) @EvoRunnerParameters(mockJVMNonDeterminism = true, useVFS = true, useVNET = true, resetStaticState = true, separateClassLoader = false, useJEE = true) 
public class FeatureLoc_ESTest extends FeatureLoc_ESTest_scaffolding {

  @Test(timeout = 4000)
  public void test00()  throws Throwable  {
      FeatureLoc featureLoc0 = new FeatureLoc();
      featureLoc0.setFminPartial(true);
      boolean boolean0 = featureLoc0.isFminPartial();
      assertTrue(boolean0);
  }

  @Test(timeout = 4000)
  public void test01()  throws Throwable  {
      Integer integer0 = new Integer((-548));
      Short short0 = new Short((short)32);
      FeatureLoc featureLoc0 = new FeatureLoc((Feature) null, (Feature) null, integer0, false, integer0, false, short0, integer0, (-548), (-548));
      boolean boolean0 = featureLoc0.isFmaxPartial();
      assertFalse(boolean0);
      assertEquals((-548), featureLoc0.getRank());
      assertFalse(featureLoc0.isFminPartial());
      assertEquals((-548), featureLoc0.getLocGroup());
  }

  @Test(timeout = 4000)
  public void test02()  throws Throwable  {
      FeatureLoc featureLoc0 = new FeatureLoc();
      Short short0 = featureLoc0.getStrand();
      assertNull(short0);
  }

  @Test(timeout = 4000)
  public void test03()  throws Throwable  {
      FeatureLoc featureLoc0 = new FeatureLoc();
      Short short0 = new Short((short) (-1869));
      featureLoc0.setStrand(short0);
      Short short1 = featureLoc0.getStrand();
      assertEquals((short) (-1869), (short)short1);
  }

  @Test(timeout = 4000)
  public void test04()  throws Throwable  {
      Integer integer0 = new Integer((-548));
      Short short0 = new Short((short)32);
      FeatureLoc featureLoc0 = new FeatureLoc((Feature) null, (Feature) null, integer0, false, integer0, false, short0, integer0, (-548), (-548));
      featureLoc0.getStrand();
      assertFalse(featureLoc0.isFminPartial());
      assertEquals((-548), featureLoc0.getLocGroup());
      assertEquals((-548), featureLoc0.getRank());
      assertFalse(featureLoc0.isFmaxPartial());
  }

  @Test(timeout = 4000)
  public void test05()  throws Throwable  {
      Integer integer0 = new Integer((-548));
      Short short0 = new Short((short)32);
      FeatureLoc featureLoc0 = new FeatureLoc((Feature) null, (Feature) null, integer0, false, integer0, false, short0, integer0, (-548), (-548));
      featureLoc0.setSrcFeatureId((short)32);
      int int0 = featureLoc0.getSrcFeatureId();
      assertEquals(32, int0);
  }

  @Test(timeout = 4000)
  public void test06()  throws Throwable  {
      FeatureLoc featureLoc0 = new FeatureLoc();
      featureLoc0.setResidueInfo("62W&w[7Y>>S{G3D");
      String string0 = featureLoc0.getResidueInfo();
      assertEquals("62W&w[7Y>>S{G3D", string0);
  }

  @Test(timeout = 4000)
  public void test07()  throws Throwable  {
      FeatureLoc featureLoc0 = new FeatureLoc();
      featureLoc0.setResidueInfo("");
      String string0 = featureLoc0.getResidueInfo();
      assertEquals("", string0);
  }

  @Test(timeout = 4000)
  public void test08()  throws Throwable  {
      Integer integer0 = new Integer((-2915));
      Short short0 = new Short((short)2492);
      FeatureLoc featureLoc0 = new FeatureLoc((Feature) null, (Feature) null, integer0, false, integer0, false, short0, integer0, (-2915), 255);
      int int0 = featureLoc0.getRank();
      assertFalse(featureLoc0.isFminPartial());
      assertEquals((-2915), featureLoc0.getLocGroup());
      assertEquals(255, int0);
      assertFalse(featureLoc0.isFmaxPartial());
  }

  @Test(timeout = 4000)
  public void test09()  throws Throwable  {
      FeatureLoc featureLoc0 = new FeatureLoc();
      featureLoc0.setRank((-1552));
      int int0 = featureLoc0.getRank();
      assertEquals((-1552), int0);
  }

  @Test(timeout = 4000)
  public void test10()  throws Throwable  {
      FeatureLoc featureLoc0 = new FeatureLoc();
      Integer integer0 = featureLoc0.getPhase();
      assertNull(integer0);
  }

  @Test(timeout = 4000)
  public void test11()  throws Throwable  {
      FeatureLoc featureLoc0 = new FeatureLoc();
      Integer integer0 = new Integer(0);
      featureLoc0.setPhase(integer0);
      Integer integer1 = featureLoc0.getPhase();
      assertEquals(0, (int)integer1);
  }

  @Test(timeout = 4000)
  public void test12()  throws Throwable  {
      Integer integer0 = new Integer((-2915));
      Short short0 = new Short((short)2492);
      FeatureLoc featureLoc0 = new FeatureLoc((Feature) null, (Feature) null, integer0, false, integer0, false, short0, integer0, (-2915), 255);
      featureLoc0.getPhase();
      assertFalse(featureLoc0.isFminPartial());
      assertEquals(255, featureLoc0.getRank());
      assertFalse(featureLoc0.isFmaxPartial());
      assertEquals((-2915), featureLoc0.getLocGroup());
  }

  @Test(timeout = 4000)
  public void test13()  throws Throwable  {
      FeatureLoc featureLoc0 = new FeatureLoc();
      featureLoc0.setLocGroup(1);
      int int0 = featureLoc0.getLocGroup();
      assertEquals(1, int0);
  }

  @Test(timeout = 4000)
  public void test14()  throws Throwable  {
      Integer integer0 = new Integer((-275));
      Short short0 = new Short((short) (-2786));
      FeatureLoc featureLoc0 = new FeatureLoc((Feature) null, (Feature) null, integer0, false, integer0, false, short0, integer0, (-2224), 0);
      int int0 = featureLoc0.getLocGroup();
      assertFalse(featureLoc0.isFmaxPartial());
      assertEquals(0, featureLoc0.getRank());
      assertFalse(featureLoc0.isFminPartial());
      assertEquals((-2224), int0);
  }

  @Test(timeout = 4000)
  public void test15()  throws Throwable  {
      FeatureLoc featureLoc0 = new FeatureLoc();
      Integer integer0 = featureLoc0.getFmin();
      assertNull(integer0);
  }

  @Test(timeout = 4000)
  public void test16()  throws Throwable  {
      FeatureLoc featureLoc0 = new FeatureLoc();
      Integer integer0 = new Integer((short)0);
      featureLoc0.setFmin(integer0);
      Integer integer1 = featureLoc0.getFmin();
      assertEquals(0, (int)integer1);
  }

  @Test(timeout = 4000)
  public void test17()  throws Throwable  {
      Integer integer0 = new Integer((-2915));
      Short short0 = new Short((short)2492);
      FeatureLoc featureLoc0 = new FeatureLoc((Feature) null, (Feature) null, integer0, false, integer0, false, short0, integer0, (-2915), 255);
      featureLoc0.getFmin();
      assertEquals(255, featureLoc0.getRank());
      assertFalse(featureLoc0.isFminPartial());
      assertEquals((-2915), featureLoc0.getLocGroup());
      assertFalse(featureLoc0.isFmaxPartial());
  }

  @Test(timeout = 4000)
  public void test18()  throws Throwable  {
      Integer integer0 = new Integer((-2915));
      Short short0 = new Short((short)2492);
      FeatureLoc featureLoc0 = new FeatureLoc((Feature) null, (Feature) null, integer0, false, integer0, false, short0, integer0, (-2915), 255);
      Integer integer1 = new Integer(255);
      featureLoc0.setFmax(integer1);
      featureLoc0.getFmax();
      assertEquals((-2915), featureLoc0.getLocGroup());
      assertEquals(255, featureLoc0.getRank());
      assertFalse(featureLoc0.isFminPartial());
      assertFalse(featureLoc0.isFmaxPartial());
  }

  @Test(timeout = 4000)
  public void test19()  throws Throwable  {
      Integer integer0 = new Integer((-882));
      Integer integer1 = new Integer(0);
      Short short0 = new Short((short)731);
      FeatureLoc featureLoc0 = new FeatureLoc((Feature) null, (Feature) null, integer0, false, integer1, false, short0, integer0, (short)731, 0);
      Integer integer2 = featureLoc0.getFmax();
      assertEquals(731, featureLoc0.getLocGroup());
      assertFalse(featureLoc0.isFminPartial());
      assertEquals((-882), (int)featureLoc0.getPhase());
      assertFalse(featureLoc0.isFmaxPartial());
      assertEquals(0, featureLoc0.getRank());
      assertEquals(0, (int)integer2);
      assertEquals((-882), (int)featureLoc0.getFmin());
  }

  @Test(timeout = 4000)
  public void test20()  throws Throwable  {
      FeatureLoc featureLoc0 = new FeatureLoc();
      Integer integer0 = new Integer((-744));
      featureLoc0.setFmax(integer0);
      Integer integer1 = featureLoc0.getFmax();
      assertEquals((-744), (int)integer1);
  }

  @Test(timeout = 4000)
  public void test21()  throws Throwable  {
      FeatureLoc featureLoc0 = new FeatureLoc();
      featureLoc0.setFeaturelocPubs((Set<FeatureLocPub>) null);
      Set<FeatureLocPub> set0 = featureLoc0.getFeatureLocPubs();
      assertNull(set0);
  }

  @Test(timeout = 4000)
  public void test22()  throws Throwable  {
      FeatureLoc featureLoc0 = new FeatureLoc();
      featureLoc0.setFeatureLocId(2343);
      int int0 = featureLoc0.getFeatureLocId();
      assertEquals(2343, int0);
  }

  @Test(timeout = 4000)
  public void test23()  throws Throwable  {
      Short short0 = new Short((short)1307);
      FeatureLoc featureLoc0 = new FeatureLoc((Feature) null, (Feature) null, (Integer) null, true, (Integer) null, false, short0, (Integer) null, (short)1307, (-2540));
      featureLoc0.setFeatureLocId((-787));
      int int0 = featureLoc0.getFeatureLocId();
      assertEquals((-787), int0);
  }

  @Test(timeout = 4000)
  public void test24()  throws Throwable  {
      FeatureLoc featureLoc0 = new FeatureLoc();
      Feature feature0 = featureLoc0.getFeatureByFeatureId();
      assertNull(feature0);
  }

  @Test(timeout = 4000)
  public void test25()  throws Throwable  {
      FeatureLoc featureLoc0 = new FeatureLoc();
      int int0 = featureLoc0.getFeatureLocId();
      assertEquals(0, int0);
  }

  @Test(timeout = 4000)
  public void test26()  throws Throwable  {
      FeatureLoc featureLoc0 = new FeatureLoc();
      int int0 = featureLoc0.getSrcFeatureId();
      assertEquals(0, int0);
  }

  @Test(timeout = 4000)
  public void test27()  throws Throwable  {
      FeatureLoc featureLoc0 = new FeatureLoc();
      featureLoc0.setSrcFeatureId((-2578));
      int int0 = featureLoc0.getSrcFeatureId();
      assertEquals((-2578), int0);
  }

  @Test(timeout = 4000)
  public void test28()  throws Throwable  {
      Feature feature0 = mock(Feature.class, new ViolatedAssumptionAnswer());
      Integer integer0 = new Integer(539);
      Short short0 = new Short((short)0);
      FeatureLoc featureLoc0 = new FeatureLoc(feature0, feature0, integer0, true, integer0, true, short0, integer0, 539, (short)0);
      int int0 = featureLoc0.getRank();
      assertTrue(featureLoc0.isFminPartial());
      assertEquals(0, int0);
      assertEquals(539, featureLoc0.getLocGroup());
      assertTrue(featureLoc0.isFmaxPartial());
  }

  @Test(timeout = 4000)
  public void test29()  throws Throwable  {
      Feature feature0 = mock(Feature.class, new ViolatedAssumptionAnswer());
      Integer integer0 = new Integer(539);
      Short short0 = new Short((short)0);
      FeatureLoc featureLoc0 = new FeatureLoc(feature0, feature0, integer0, true, integer0, true, short0, integer0, 539, (short)0);
      featureLoc0.getStrand();
      assertEquals(0, featureLoc0.getRank());
      assertTrue(featureLoc0.isFminPartial());
      assertTrue(featureLoc0.isFmaxPartial());
      assertEquals(539, featureLoc0.getLocGroup());
  }

  @Test(timeout = 4000)
  public void test30()  throws Throwable  {
      Feature feature0 = mock(Feature.class, new ViolatedAssumptionAnswer());
      Integer integer0 = new Integer(539);
      Short short0 = new Short((short)0);
      FeatureLoc featureLoc0 = new FeatureLoc(feature0, feature0, integer0, true, integer0, true, short0, integer0, 539, (short)0);
      featureLoc0.getFmin();
      assertEquals(539, featureLoc0.getLocGroup());
      assertEquals(0, featureLoc0.getRank());
      assertTrue(featureLoc0.isFmaxPartial());
      assertTrue(featureLoc0.isFminPartial());
  }

  @Test(timeout = 4000)
  public void test31()  throws Throwable  {
      Feature feature0 = mock(Feature.class, new ViolatedAssumptionAnswer());
      Integer integer0 = new Integer(539);
      Short short0 = new Short((short)0);
      FeatureLoc featureLoc0 = new FeatureLoc(feature0, feature0, integer0, true, integer0, true, short0, integer0, 539, (short)0);
      Feature feature1 = mock(Feature.class, new ViolatedAssumptionAnswer());
      featureLoc0.setFeatureBySrcFeatureId(feature1);
      assertEquals(539, featureLoc0.getLocGroup());
      assertEquals(0, featureLoc0.getRank());
      assertTrue(featureLoc0.isFmaxPartial());
      assertTrue(featureLoc0.isFminPartial());
  }

  @Test(timeout = 4000)
  public void test32()  throws Throwable  {
      Feature feature0 = mock(Feature.class, new ViolatedAssumptionAnswer());
      Integer integer0 = new Integer(539);
      Short short0 = new Short((short)0);
      FeatureLoc featureLoc0 = new FeatureLoc(feature0, feature0, integer0, true, integer0, true, short0, integer0, 539, (short)0);
      featureLoc0.getPhase();
      assertTrue(featureLoc0.isFminPartial());
      assertEquals(539, featureLoc0.getLocGroup());
      assertTrue(featureLoc0.isFmaxPartial());
      assertEquals(0, featureLoc0.getRank());
  }

  @Test(timeout = 4000)
  public void test33()  throws Throwable  {
      Feature feature0 = mock(Feature.class, new ViolatedAssumptionAnswer());
      Integer integer0 = new Integer(539);
      Short short0 = new Short((short)0);
      FeatureLoc featureLoc0 = new FeatureLoc(feature0, feature0, integer0, true, integer0, true, short0, integer0, 539, (short)0);
      boolean boolean0 = featureLoc0.isFmaxPartial();
      assertEquals(0, featureLoc0.getRank());
      assertTrue(featureLoc0.isFminPartial());
      assertEquals(539, featureLoc0.getLocGroup());
      assertTrue(boolean0);
  }

  @Test(timeout = 4000)
  public void test34()  throws Throwable  {
      FeatureLoc featureLoc0 = new FeatureLoc();
      Integer integer0 = featureLoc0.getFmax();
      assertNull(integer0);
  }

  @Test(timeout = 4000)
  public void test35()  throws Throwable  {
      FeatureLoc featureLoc0 = new FeatureLoc();
      boolean boolean0 = featureLoc0.isFminPartial();
      assertFalse(boolean0);
  }

  @Test(timeout = 4000)
  public void test36()  throws Throwable  {
      FeatureLoc featureLoc0 = new FeatureLoc();
      int int0 = featureLoc0.getLocGroup();
      assertEquals(0, int0);
  }

  @Test(timeout = 4000)
  public void test37()  throws Throwable  {
      FeatureLoc featureLoc0 = new FeatureLoc();
      Feature feature0 = featureLoc0.getFeatureBySrcFeatureId();
      assertNull(feature0);
  }

  @Test(timeout = 4000)
  public void test38()  throws Throwable  {
      FeatureLoc featureLoc0 = new FeatureLoc();
      Feature feature0 = mock(Feature.class, new ViolatedAssumptionAnswer());
      featureLoc0.setFeatureByFeatureId(feature0);
      assertNull(featureLoc0.getStrand());
  }

  @Test(timeout = 4000)
  public void test39()  throws Throwable  {
      FeatureLoc featureLoc0 = new FeatureLoc();
      featureLoc0.setFmaxPartial(false);
      assertFalse(featureLoc0.isFmaxPartial());
  }

  @Test(timeout = 4000)
  public void test40()  throws Throwable  {
      FeatureLoc featureLoc0 = new FeatureLoc();
      Set<FeatureLocPub> set0 = featureLoc0.getFeatureLocPubs();
      featureLoc0.setFeaturelocPubs(set0);
      assertEquals(0, featureLoc0.getFeatureLocId());
  }

  @Test(timeout = 4000)
  public void test41()  throws Throwable  {
      Feature feature0 = mock(Feature.class, new ViolatedAssumptionAnswer());
      Integer integer0 = new Integer(539);
      Short short0 = new Short((short)0);
      FeatureLoc featureLoc0 = new FeatureLoc(feature0, feature0, integer0, true, integer0, true, short0, integer0, 539, (short)0);
      featureLoc0.getResidueInfo();
      assertEquals(0, featureLoc0.getRank());
      assertEquals(539, featureLoc0.getLocGroup());
      assertTrue(featureLoc0.isFmaxPartial());
      assertTrue(featureLoc0.isFminPartial());
  }
}
