title: OpenCSV does not write bean records
body: <p>I just start using OpenCSV for my project. After runing this code, created "test.csv" file on my Desktop but its empty. Where am i doing wrong?</p>
  
  <pre><code>public class test {
      List&lt;MockBean&gt; testData = new ArrayList&lt;MockBean&gt;();
  
      public static void main(String[] args) {
          try {
              List&lt;MockBean&gt; testData = new ArrayList&lt;MockBean&gt;();
              MockBean mb = new MockBean();
              mb.setName("kyle");
              mb.setOrderNumber("abc123456");
              mb.setNum(123);
              testData.add(mb);
              mb = new MockBean();
              mb.setName("jimmy");
              mb.setOrderNumber("def098765");
              mb.setNum(456);
              testData.add(mb);
  
              Writer writer = new FileWriter("C:\\Users\\ali.gumusoglu\\Desktop\\New folder\\test.csv");
  
              ColumnPositionMappingStrategy mappingStrategy = 
                      new ColumnPositionMappingStrategy();
              mappingStrategy.setType(MockBean.class);
  
              StatefulBeanToCsvBuilder&lt;MockBean&gt; builder = new StatefulBeanToCsvBuilder(writer);
  
              StatefulBeanToCsv beanWriter = builder
                      .withMappingStrategy(mappingStrategy)
                      .withSeparator('#')
                      .withQuotechar('\'')
                      .build();
              beanWriter.write(testData);
              System.out.println("CSV File written successfully!!!");
  
  
          } catch (Exception e) {
              System.out.println(e.getMessage());
          }
  
      }
  
  }
  </code></pre>
  
  <p>Thanks you for your help.</p>