@Test
public void testParser() throws Exception {

    CsvParser parser = new CsvParser(new TypeInformation[]{Types.STRING}, ",", '"');
    Assert.assertEquals(parser.parse("\"hello, world\"").f1.getField(0), "hello, world");
    Assert.assertEquals(parser.parse("").f1.getField(0), null);
    Assert.assertEquals(parser.parse("\"\"").f1.getField(0), "");
    Assert.assertEquals(parser.parse("\"\"\"\"\"\"").f1.getField(0), "\"\"");
}