private void readAndWriteInputStream(File file, ExcelTypeEnum excelTypeEnum) throws Exception {
        EasyExcel.write(new FileOutputStream(file), SimpleData.class).excelType(excelTypeEnum).sheet().doWrite(data());
        //use a SimpleDataListener object to handle and check result
        EasyExcel.read(new FileInputStream(file), SimpleData.class, new SimpleDataListener()).sheet().doRead();
    }
Test simple read/write with InputStream/OutputStream

@param file          file used to generate InputStream/OutputStream
@param excelTypeEnum excel type enum
@throws Exception exception
fastexcel-test/src/test/java/cn/idev/excel/test/core/simple/SimpleDataTest.java