content: /*
   * This file was automatically generated by EvoSuite
   */
  
  package com.lts.properties;
  
  import org.junit.Test;
  import org.junit.runner.RunWith;
  import org.evosuite.junit.EvoSuiteRunner;
  import static org.junit.Assert.*;
  import com.lts.properties.PropertyWriter;
  import java.io.ByteArrayOutputStream;
  import java.io.IOException;
  import java.io.OutputStream;
  import java.util.LinkedList;
  import java.util.List;
  import java.util.Properties;
  import org.junit.BeforeClass;
  
  @RunWith(EvoSuiteRunner.class)
  public class PropertyWriterEvoSuiteTest {
  
    @BeforeClass 
    public static void initEvoSuiteFramework(){ 
      org.evosuite.Properties.REPLACE_CALLS = true; 
    } 
  
  
    @Test
    public void test0()  throws Throwable  {
        PropertyWriter propertyWriter0 = new PropertyWriter();
        LinkedList<String> linkedList0 = new LinkedList<String>();
        linkedList0.add("[Oa|g");
        Properties properties0 = new Properties();
        ByteArrayOutputStream byteArrayOutputStream0 = new ByteArrayOutputStream();
        // Undeclared exception!
        try {
          propertyWriter0.store((OutputStream) byteArrayOutputStream0, "[Oa|g", (List<String>) linkedList0, properties0);
          fail("Expecting exception: NullPointerException");
        } catch(NullPointerException e) {
        }
    }
  
    @Test
    public void test1()  throws Throwable  {
        PropertyWriter propertyWriter0 = new PropertyWriter();
        ByteArrayOutputStream byteArrayOutputStream0 = new ByteArrayOutputStream(565);
        Properties properties0 = new Properties();
        LinkedList<String> linkedList0 = new LinkedList<String>();
        propertyWriter0.store((OutputStream) byteArrayOutputStream0, (String) null, (List<String>) linkedList0, properties0);
        assertEquals(30, byteArrayOutputStream0.size());
        assertEquals("#Wed Jul 03 01:14:57 BST 2013\n", byteArrayOutputStream0.toString());
    }
  
    @Test
    public void test2()  throws Throwable  {
        ByteArrayOutputStream byteArrayOutputStream0 = new ByteArrayOutputStream(9);
        LinkedList<String> linkedList0 = new LinkedList<String>();
        linkedList0.add(" _Q=;d$ <%ee<'w%f!");
        PropertyWriter propertyWriter0 = new PropertyWriter();
        Properties properties0 = new Properties();
        // Undeclared exception!
        try {
          propertyWriter0.store((OutputStream) byteArrayOutputStream0, " _Q=;d$ <%ee<'w%f!", (List<String>) linkedList0, properties0);
          fail("Expecting exception: NullPointerException");
        } catch(NullPointerException e) {
        }
    }
  
    @Test
    public void test3()  throws Throwable  {
        ByteArrayOutputStream byteArrayOutputStream0 = new ByteArrayOutputStream(8);
        LinkedList<String> linkedList0 = new LinkedList<String>();
        linkedList0.add("k:@)_:Y#6/;4!");
        PropertyWriter propertyWriter0 = new PropertyWriter();
        Properties properties0 = new Properties();
        properties0.put((Object) "k:@)_:Y#6/;4!", (Object) "French (Canada)");
        propertyWriter0.store((OutputStream) byteArrayOutputStream0, "k:@)_:Y#6/;4!", (List<String>) linkedList0, properties0);
        assertEquals("#k:@)_:Y#6/;4!\n#Wed Jul 03 01:15:04 BST 2013\nk\\:@)_\\:Y\\#6/;4\\!=French (Canada)\n", byteArrayOutputStream0.toString());
        assertEquals(79, byteArrayOutputStream0.size());
    }
  }
  