@Test public void testEmptyFile() throws URISyntaxException, IOException { Path file = getResource("EmptyFile"); for (TswFactory factory : asList(oldFactory, newFactory)) { List<TswSeries> items = factory.loadFile(file); assertTrue(items.isEmpty()); } }
@NonNull abstract public List<TswSeries> loadFile(@NonNull Path file) throws IOException;
TswFactory { @NonNull abstract public List<TswSeries> loadFile(@NonNull Path file) throws IOException; }
TswFactory { @NonNull abstract public List<TswSeries> loadFile(@NonNull Path file) throws IOException;  }
TswFactory { @NonNull abstract public List<TswSeries> loadFile(@NonNull Path file) throws IOException;  @NonNull abstract TswSource load(@NonNull Path repository); @NonNull abstract List<TswSeries> loadFile(@NonNull Path file); @NonNull static TswFactory getDefault(); }
TswFactory { @NonNull abstract public List<TswSeries> loadFile(@NonNull Path file) throws IOException;  @NonNull abstract TswSource load(@NonNull Path repository); @NonNull abstract List<TswSeries> loadFile(@NonNull Path file); @NonNull static TswFactory getDefault();  }