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

package com.ib.client;

import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import com.ib.client.TagValue;
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 TagValue_ESTest extends TagValue_ESTest_scaffolding {

  @Test(timeout = 4000)
  public void test0()  throws Throwable  {
      TagValue tagValue0 = new TagValue("#/!lsf(oF", "");
      TagValue tagValue1 = new TagValue();
      boolean boolean0 = tagValue0.equals(tagValue1);
      assertFalse(boolean0);
      assertFalse(tagValue1.equals((Object)tagValue0));
  }

  @Test(timeout = 4000)
  public void test1()  throws Throwable  {
      TagValue tagValue0 = new TagValue("", "");
      // Undeclared exception!
      try { 
        tagValue0.equals("");
        fail("Expecting exception: ClassCastException");
      
      } catch(ClassCastException e) {
         //
         // java.lang.String incompatible with com.ib.client.TagValue
         //
         verifyException("com.ib.client.TagValue", e);
      }
  }

  @Test(timeout = 4000)
  public void test2()  throws Throwable  {
      TagValue tagValue0 = new TagValue("=je7+?J/\"YJ", "");
      tagValue0.m_tag = "8-F!ym";
      TagValue tagValue1 = new TagValue("8-F!ym", "!:u.*t(");
      boolean boolean0 = tagValue1.equals(tagValue0);
      assertFalse(boolean0);
      assertFalse(tagValue0.equals((Object)tagValue1));
  }

  @Test(timeout = 4000)
  public void test3()  throws Throwable  {
      TagValue tagValue0 = new TagValue((String) null, (String) null);
      TagValue tagValue1 = new TagValue("=je7+?J/\"YJ", "");
      boolean boolean0 = tagValue0.equals(tagValue1);
      assertFalse(tagValue1.equals((Object)tagValue0));
      assertFalse(boolean0);
  }

  @Test(timeout = 4000)
  public void test4()  throws Throwable  {
      TagValue tagValue0 = new TagValue("", "");
      TagValue tagValue1 = new TagValue();
      boolean boolean0 = tagValue0.equals(tagValue1);
      assertTrue(boolean0);
  }

  @Test(timeout = 4000)
  public void test5()  throws Throwable  {
      TagValue tagValue0 = new TagValue("", "");
      boolean boolean0 = tagValue0.equals(tagValue0);
      assertTrue(boolean0);
  }

  @Test(timeout = 4000)
  public void test6()  throws Throwable  {
      TagValue tagValue0 = new TagValue();
      TagValue tagValue1 = new TagValue((String) null, "=N(Ka92r");
      boolean boolean0 = tagValue0.equals(tagValue1);
      assertFalse(boolean0);
      assertFalse(tagValue1.equals((Object)tagValue0));
  }

  @Test(timeout = 4000)
  public void test7()  throws Throwable  {
      TagValue tagValue0 = new TagValue("", "");
      boolean boolean0 = tagValue0.equals((Object) null);
      assertFalse(boolean0);
  }
}
