GCProfileFactory { @NotNull public static Multimap<Chromosome, GCProfile> loadGCContent(int windowSize, @NotNull final String fileName) throws IOException { return loadGCContent(windowSize, LineReader.build().readLines(new File(fileName).toPath(), x -> true)); } private  GCProfileFactory(); @NotNull static Multimap<Chromosome, GCProfile> loadGCContent(int windowSize, @NotNull final String fileName);  }
@Test public void canLoadNormalFile() throws IOException { final Multimap<Chromosome, GCProfile> gcContent = GCProfileFactory.loadGCContent(1000, BASE_PATH + "GC_profile.1000bp.cnp"); assertEquals(100, gcContent.size()); }