public void ReadSimpleEmptyCsvFile() { var csvDataProvider = new CsvDataProvider(new CsvDataProviderConfiguration { CsvFilePaths = new List <string> { "./CsvFiles/SimpleEmpty.csv" } }); var entityDataList = csvDataProvider.GetEntityDataList(); Assert.IsNotNull(entityDataList); var entityDataSimple = entityDataList[0]; MyAssert.AssertSimpleEmpty(entityDataSimple); }
public void ReadCsvsFromDictionary() { var csvDataProvider = new CsvDataProvider(new CsvDataProviderConfiguration { FolderPath = "./CsvFiles" }); var entityDataList = csvDataProvider.GetEntityDataList(); Assert.IsNotNull(entityDataList); var entityDataComplex = entityDataList[0]; MyAssert.AssertComplex(entityDataComplex); var entityDataSimple = entityDataList[1]; MyAssert.AssertSimple(entityDataSimple); }