DocmFileReader { @NotNull public static List<DocmEntry> readDcomFile(@NotNull String fileName) throws IOException { return fromLines(Files.readAllLines(new File(fileName).toPath())); } private  DocmFileReader(); @NotNull static List<DocmEntry> readDcomFile(@NotNull String fileName);  }
@Test public void canReadDcomInputFile() throws IOException { List<DocmEntry> entries = DocmFileReader.readDcomFile(EXAMPLE_TSV); assertEquals(2, entries.size()); assertEquals("MTOR", entries.get(0).gene()); assertEquals("ENST00000361445", entries.get(0).transcript()); assertEquals("R2505P", entries.get(0).proteinAnnotation()); assertEquals("BTK", entries.get(1).gene()); assertEquals("ENST00000372880", entries.get(1).transcript()); assertEquals("E41K", entries.get(1).proteinAnnotation()); }