public void SetParam_ForFileName(string fileName)
 {
     BasicFrameToExcelWriter writer = new BasicFrameToExcelWriter();
     writer.SetParam(BasicFrameToExcelWriter._ParamName_FileName, fileName);
     Assert.Equal(fileName, writer.FileName);
 }
 public void SetParam_ForFrame(int rowCount, Type[] colTypes)
 {
     IFrame frame = BasicFrameGenerator.CreateTable(rowCount, colTypes);
     BasicFrameToExcelWriter writer = new BasicFrameToExcelWriter();
     writer.SetParam(BasicFrameToExcelWriter._ParamName_InputFrame, frame);
     Assert.Same(frame, writer.InputFrame);
 }
 public void SetParam_ForExportHeaders(bool exportHeaders)
 {
     BasicFrameToExcelWriter writer = new BasicFrameToExcelWriter();
     writer.SetParam(BasicFrameToExcelWriter._ParamName_ExportHeaders, exportHeaders);
     Assert.Equal(exportHeaders, writer.ExportHeaders);
 }