content: /*
   * This file was automatically generated by EvoSuite
   */
  
  package com.lts.xmlser.tags;
  
  import org.junit.Test;
  import org.junit.runner.RunWith;
  import org.evosuite.junit.EvoSuiteRunner;
  import static org.junit.Assert.*;
  import com.lts.LTSException;
  import com.lts.io.IndentingPrintWriter;
  import com.lts.xmlser.XmlSerializer;
  import com.lts.xmlser.tags.DateTag;
  import javax.imageio.metadata.IIOMetadataNode;
  import org.junit.BeforeClass;
  import org.w3c.dom.Element;
  
  @RunWith(EvoSuiteRunner.class)
  public class DateTagEvoSuiteTest {
  
    @BeforeClass 
    public static void initEvoSuiteFramework(){ 
      org.evosuite.Properties.REPLACE_CALLS = true; 
    } 
  
  
    @Test
    public void test0()  throws Throwable  {
        DateTag dateTag0 = XmlSerializer.DATE_TAG;
        XmlSerializer xmlSerializer0 = new XmlSerializer();
        // Undeclared exception!
        try {
          dateTag0.write(xmlSerializer0, (IndentingPrintWriter) null, "$3]sr.=~FG$", (Object) "null");
          fail("Expecting exception: ClassCastException");
        } catch(ClassCastException e) {
          /*
           * java.lang.String cannot be cast to java.util.Date
           */
        }
    }
  
    @Test
    public void test1()  throws Throwable  {
        DateTag dateTag0 = new DateTag();
        XmlSerializer xmlSerializer0 = new XmlSerializer();
        IIOMetadataNode iIOMetadataNode0 = new IIOMetadataNode("long");
        try {
          dateTag0.read(xmlSerializer0, (Element) iIOMetadataNode0, false);
          fail("Expecting exception: LTSException");
        } catch(LTSException e) {
          /*
           * Required attribute, value, was missing in tag long
           */
        }
    }
  
    @Test
    public void test2()  throws Throwable  {
        DateTag dateTag0 = new DateTag();
        String string0 = dateTag0.getTagName((Object) "id");
        assertEquals("java.lang.String", string0);
    }
  }
  