/*
 * This file was automatically generated by EvoSuite
 * Wed Sep 19 22:49:06 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.LowerInteger;

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

  @Test(timeout = 4000)
  public void test0()  throws Throwable  {
      LowerInteger lowerInteger0 = new LowerInteger(0);
      int int0 = lowerInteger0.getPosition();
      assertEquals(0, int0);
  }

  @Test(timeout = 4000)
  public void test1()  throws Throwable  {
      Integer integer0 = new Integer(915);
      LowerInteger lowerInteger0 = new LowerInteger(integer0);
      int int0 = lowerInteger0.getPosition();
      assertEquals(915, int0);
  }

  @Test(timeout = 4000)
  public void test2()  throws Throwable  {
      LowerInteger lowerInteger0 = new LowerInteger((-9));
      int int0 = lowerInteger0.getPosition();
      assertEquals((-9), int0);
  }

  @Test(timeout = 4000)
  public void test3()  throws Throwable  {
      LowerInteger lowerInteger0 = null;
      try {
        lowerInteger0 = new LowerInteger((Integer) null);
        fail("Expecting exception: NullPointerException");
      
      } catch(NullPointerException e) {
         //
         // no message in exception (getMessage() returned null)
         //
         verifyException("uk.ac.sanger.artemis.io.LowerInteger", e);
      }
  }

  @Test(timeout = 4000)
  public void test4()  throws Throwable  {
      LowerInteger lowerInteger0 = new LowerInteger((-9));
      String string0 = lowerInteger0.toString();
      assertEquals("<-9", string0);
  }
}
