### Question:
CSVMatrixReader implements IMatrixReader { @Override public SimpleCell[] readCells() throws IOException, NoSuchElementException { String[] cells = read(); SimpleCell[] simpleCells = new SimpleCell[cells.length]; int counter = 0; for (String s : cells) { simpleCells[counter++] = new SimpleCell(s, lineNumber); } return simpleCells; } CSVMatrixReader(String fileName);  CSVMatrixReader(String fileName, char delimiter);  CSVMatrixReader(String fileName, String encoding);  CSVMatrixReader(String fileName, char delimiter, String encoding);  CSVMatrixReader(InputStream inputStream);  CSVMatrixReader(InputStream inputStream, String encoding);  CSVMatrixReader(InputStream inputStream, char delimiter);  CSVMatrixReader(InputStream inputStream, char delimiter, String encoding); @Override void close(); @Override SimpleCell[] readCells(); @Override String[] read(); @Override boolean hasNext(); static char determineCSVDelimiter(InputStream is, boolean needClose); static CSVDelimiter determineCSVDelimiter(byte[] bytes, int size);  }### Answer:
@Test public void testReadCells() { try (CSVMatrixReader e = new CSVMatrixReader("src/test/resources/aml/iomatrix/testcsv.csv")) { StringBuilder sb = new StringBuilder(); while (e.hasNext()) { sb.append(Arrays.toString(e.readCells())); } if (sb.length() == 0) { fail("File not readed"); } } catch (Exception ex) { fail(ex.getMessage()); } }