public void SetUp() { var settings = new CsvSettings(@"../../../Tmp/products.csv", @"../../../Tmp/products_corr_no_header.csv"); var reader = ReaderFactory.CreateReader(settings); _products = reader.ReadProducts().ToList(); _correlationTable = (CorrelationTable)reader.ReadTable(TableType.Correlation); ((CsvSettings)reader.Settings).PathToTable = @"../../../Tmp/substitutes.csv"; _substitutesTable = (SubstitutesTable)reader.ReadTable(TableType.Substitutes); }
public PacketBuilder AddSubstitutesTable(SubstitutesTable table) { _substitutesTable = table; return(this); }