DrupActionabilityModelFactory { @NotNull public static DrupActionabilityModel buildFromCsv(@NotNull String drupGenesCsv) throws IOException { List<String> lines = LineReader.build().readLines(new File(drupGenesCsv).toPath(), line -> line.length() > 0); Set<String> genes = Sets.newHashSet(); for (String line : lines) { genes.add(line.trim()); } return ImmutableDrupActionabilityModel.of(genes); } private  DrupActionabilityModelFactory(); @NotNull static DrupActionabilityModel buildFromCsv(@NotNull String drupGenesCsv);  }
@Test public void canReadTestDrupCsv() throws IOException { DrupActionabilityModel drupActionabilityModel = DrupActionabilityModelFactory.buildFromCsv(DRUP_GENES_CSV); assertEquals(2, drupActionabilityModel.actionableGenes().size()); }