### Question:
CSVMatrixWriter implements IMatrixWriter { @Override public void close() throws Exception { writer.close(); } CSVMatrixWriter(String fileName);  CSVMatrixWriter(String fileName, char delimiter);  CSVMatrixWriter(String fileName, String encoding);  CSVMatrixWriter(OutputStream outputStream);  CSVMatrixWriter(OutputStream outputStream, char delimiter);  CSVMatrixWriter(OutputStream outputStream, char delimiter, String encoding);  CSVMatrixWriter(OutputStream outputStream, char delimiter, Charset charset); @Override void close(); @Override void writeCells(SimpleCell[] cells); @Override void write(String[] strings); @Override void flush();  }### Answer:
@Test public void testClose() { try (CSVMatrixWriter e = new CSVMatrixWriter(new FileOutputStream(tmpFile))) { e.close(); } catch (Exception ex) { fail(ex.getMessage()); } }