CompassionateUseProgramFile { @NotNull public static List<CompassionateUseProgram> read(@NotNull String filePath) throws IOException { return fromLines(Files.readAllLines(new File(filePath).toPath())); }  @NotNull static List<CompassionateUseProgram> read(@NotNull String filePath);  }
@Test public void canReadTestCompassionateUseProgramFile() throws IOException { List<CompassionateUseProgram> compassionateUsePrograms = CompassionateUseProgramFile.read(EXAMPLE_TSV); assertEquals(1, compassionateUsePrograms.size()); CompassionateUseProgram compassionateUsePrograms1 = compassionateUsePrograms.get(0); assertEquals("AC", compassionateUsePrograms1.trialAcronymSite()); assertEquals("-", compassionateUsePrograms1.variants()); assertEquals("Source", compassionateUsePrograms1.source()); assertEquals("Trametinib", compassionateUsePrograms1.drug()); assertEquals("inhibitor", compassionateUsePrograms1.drugType()); assertEquals("Lung", compassionateUsePrograms1.cancerType()); assertEquals("B", compassionateUsePrograms1.level()); assertEquals("Responsive", compassionateUsePrograms1.direction()); assertEquals("link", compassionateUsePrograms1.link()); }