@Test
public void dataSetCreated_whenCsvDataValid() throws Exception {

    final String CSV_DATA = "'Name','Weight','Date of birth'\n'Jan','75.64','1950-01-20'";
    CSVFileStorage mockStorage = new MockCSVFileStorage(CSV_DATA);
    CSVParser testedParser = new CSVParser(csvDataSet, mockStorage);
    DataSet dset = testedParser.load();
    assertEquals(1, dset.getRowCount());
    assertEquals(ColumnType.LABEL, dset.getColumnById("Name").getColumnType());
    assertEquals(ColumnType.NUMBER, dset.getColumnById("Weight").getColumnType());
    assertEquals(ColumnType.DATE, dset.getColumnById("Date of birth").getColumnType());
}