/*
 * This file was automatically generated by EvoSuite
 * Sun Mar 03 02:21:52 GMT 2024
 */

package com.ib.client;

import org.junit.Test;
import static org.junit.Assert.*;
import com.ib.client.EClientErrors;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;

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

  @Test(timeout = 4000)
  public void test0()  throws Throwable  {
      EClientErrors eClientErrors0 = new EClientErrors();
  }

  @Test(timeout = 4000)
  public void test1()  throws Throwable  {
      EClientErrors.CodeMsgPair eClientErrors_CodeMsgPair0 = EClientErrors.FAIL_SEND_CANRTBARS;
      int int0 = eClientErrors_CodeMsgPair0.code();
      assertEquals(530, int0);
  }

  @Test(timeout = 4000)
  public void test2()  throws Throwable  {
      EClientErrors.CodeMsgPair eClientErrors_CodeMsgPair0 = new EClientErrors.CodeMsgPair(1, "Request Real-time Bar Data Sending Error - ");
      String string0 = eClientErrors_CodeMsgPair0.msg();
      assertNotNull(string0);
      assertEquals(1, eClientErrors_CodeMsgPair0.code());
  }
}
