public void ExcelConvertor_ToExcel_MissingFile(string file) { var ec = new ExcelConvertor(); var settings = new ExcelConvertorSettings { MandatoryColumns = new[] { "id", "wholesale", "UPC Code 1" } }; Should.Throw <ArgumentException>(() => ec.ToJson(file, settings)); }
public void ExcelConvertor_ToExcel_EmptyFile(string file) { var ec = new ExcelConvertor(); Should.Throw <ArgumentException>(() => ec.ToJson(file, null)); }