ModifiedCsvToBean<ReportAccount> csvToBean = new ModifiedCsvToBean<ReportAccount>();
List<ReportAccount> parsedBeans = csvToBean.parse(mappingStrategy, csvReader);
Assert.assertEquals(28, parsedBeans.size());
ReportAccount reportAccount = parsedBeans.get(0);
Assert.assertEquals(1003027038L, reportAccount.getAccountId().longValue());
Assert.assertEquals("2013-10-04", reportAccount.getDay());
Assert.assertEquals(
"L'occitane Automobiles - Pezenas", reportAccount.getAccountDescriptiveName());
Assert.assertEquals(6.7, reportAccount.getCost().doubleValue());
Assert.assertEquals(4L, reportAccount.getClicks().longValue());
Assert.assertEquals(87L, reportAccount.getImpressions().longValue());
Assert.assertEquals(0L, reportAccount.getConversions().longValue());
Assert.assertEquals("4.60", reportAccount.getCtr());
Assert.assertEquals(77.01, reportAccount.getAvgCpm().doubleValue());
Assert.assertEquals(1.68, reportAccount.getAvgCpc().doubleValue());
Assert.assertEquals("1.40", reportAccount.getAvgPosition());
Assert.assertEquals("EUR", reportAccount.getCurrencyCode());
reportAccount = parsedBeans.get(27);
Assert.assertEquals(1003027038L, reportAccount.getAccountId().longValue());
Assert.assertEquals("2013-10-31", reportAccount.getDay());
Assert.assertEquals("EUR", reportAccount.getCurrencyCode());
}