public void IfCompressTmpFilesIsSetToFalseShouldReturnSheetDataWriter() { _objectToTest = new SXSSFWorkbook(); var result = _objectToTest.CreateSheetDataWriter(); Assert.IsTrue(result is SheetDataWriter); }
public void IfCompressTmpFilesIsSetToTrueShouldReturnGZIPSheetDataWriter() { _objectToTest = new SXSSFWorkbook(null, 100, true); var result = _objectToTest.CreateSheetDataWriter(); Assert.IsTrue(result is GZIPSheetDataWriter); }