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

package org.gmod.schema.phylogeny;

import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.shaded.org.mockito.Mockito.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.evosuite.runtime.ViolatedAssumptionAnswer;
import org.gmod.schema.cv.CvTerm;
import org.gmod.schema.phylogeny.Phylonode;
import org.gmod.schema.phylogeny.PhylonodeProp;
import org.junit.runner.RunWith;

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

  @Test(timeout = 4000)
  public void test00()  throws Throwable  {
      PhylonodeProp phylonodeProp0 = new PhylonodeProp();
      String string0 = phylonodeProp0.getValue();
      assertNull(string0);
  }

  @Test(timeout = 4000)
  public void test01()  throws Throwable  {
      PhylonodeProp phylonodeProp0 = new PhylonodeProp();
      phylonodeProp0.setValue(";g/7G {*zllKN_");
      String string0 = phylonodeProp0.getValue();
      assertEquals(";g/7G {*zllKN_", string0);
  }

  @Test(timeout = 4000)
  public void test02()  throws Throwable  {
      PhylonodeProp phylonodeProp0 = new PhylonodeProp();
      phylonodeProp0.setRank(31);
      int int0 = phylonodeProp0.getRank();
      assertEquals(31, int0);
  }

  @Test(timeout = 4000)
  public void test03()  throws Throwable  {
      PhylonodeProp phylonodeProp0 = new PhylonodeProp();
      phylonodeProp0.setRank((-1));
      int int0 = phylonodeProp0.getRank();
      assertEquals((-1), int0);
  }

  @Test(timeout = 4000)
  public void test04()  throws Throwable  {
      CvTerm cvTerm0 = mock(CvTerm.class, new ViolatedAssumptionAnswer());
      Phylonode phylonode0 = mock(Phylonode.class, new ViolatedAssumptionAnswer());
      PhylonodeProp phylonodeProp0 = new PhylonodeProp((-1157), cvTerm0, phylonode0, "z!S{\"zbAf>u", (-1157));
      int int0 = phylonodeProp0.getPhylonodePropId();
      assertEquals((-1157), int0);
      assertEquals((-1157), phylonodeProp0.getRank());
  }

  @Test(timeout = 4000)
  public void test05()  throws Throwable  {
      PhylonodeProp phylonodeProp0 = new PhylonodeProp();
      Phylonode phylonode0 = phylonodeProp0.getPhylonode();
      assertNull(phylonode0);
  }

  @Test(timeout = 4000)
  public void test06()  throws Throwable  {
      PhylonodeProp phylonodeProp0 = new PhylonodeProp();
      Phylonode phylonode0 = mock(Phylonode.class, new ViolatedAssumptionAnswer());
      phylonodeProp0.setPhylonode(phylonode0);
      assertEquals(0, phylonodeProp0.getRank());
  }

  @Test(timeout = 4000)
  public void test07()  throws Throwable  {
      CvTerm cvTerm0 = mock(CvTerm.class, new ViolatedAssumptionAnswer());
      Phylonode phylonode0 = mock(Phylonode.class, new ViolatedAssumptionAnswer());
      PhylonodeProp phylonodeProp0 = new PhylonodeProp(0, cvTerm0, phylonode0, "", 0);
      int int0 = phylonodeProp0.getRank();
      assertEquals(0, phylonodeProp0.getPhylonodePropId());
      assertEquals(0, int0);
  }

  @Test(timeout = 4000)
  public void test08()  throws Throwable  {
      CvTerm cvTerm0 = mock(CvTerm.class, new ViolatedAssumptionAnswer());
      Phylonode phylonode0 = mock(Phylonode.class, new ViolatedAssumptionAnswer());
      PhylonodeProp phylonodeProp0 = new PhylonodeProp(0, cvTerm0, phylonode0, "", 0);
      phylonodeProp0.getValue();
      assertEquals(0, phylonodeProp0.getRank());
      assertEquals(0, phylonodeProp0.getPhylonodePropId());
  }

  @Test(timeout = 4000)
  public void test09()  throws Throwable  {
      PhylonodeProp phylonodeProp0 = new PhylonodeProp();
      int int0 = phylonodeProp0.getPhylonodePropId();
      assertEquals(0, int0);
  }

  @Test(timeout = 4000)
  public void test10()  throws Throwable  {
      CvTerm cvTerm0 = mock(CvTerm.class, new ViolatedAssumptionAnswer());
      Phylonode phylonode0 = mock(Phylonode.class, new ViolatedAssumptionAnswer());
      PhylonodeProp phylonodeProp0 = new PhylonodeProp(0, cvTerm0, phylonode0, "", 0);
      phylonodeProp0.setCvTerm((CvTerm) null);
      assertEquals(0, phylonodeProp0.getRank());
      assertEquals(0, phylonodeProp0.getPhylonodePropId());
  }

  @Test(timeout = 4000)
  public void test11()  throws Throwable  {
      PhylonodeProp phylonodeProp0 = new PhylonodeProp();
      phylonodeProp0.setPhylonodePropId(2942);
      int int0 = phylonodeProp0.getPhylonodePropId();
      assertEquals(2942, int0);
  }

  @Test(timeout = 4000)
  public void test12()  throws Throwable  {
      PhylonodeProp phylonodeProp0 = new PhylonodeProp();
      CvTerm cvTerm0 = phylonodeProp0.getCvTerm();
      assertNull(cvTerm0);
  }
}
