private void readAndWrite(File file) {
        EasyExcel.write(file, SimpleData.class).sheet().doWrite(data());
        //use a SimpleDataListener object to handle and check result
        EasyExcel.read(file, SimpleData.class, new SimpleDataListener()).sheet().doRead();
    }
Test simple read/write with file

@param file file
fastexcel-test/src/test/java/cn/idev/excel/test/core/simple/SimpleDataTest.java