@Test public void testOrder() throws IOException { folder.newFile("7.pdf"); folder.newFile("44.pdf"); folder.newFile("14.pdf"); WildcardsPdfFileSourceAdapter victim = new WildcardsPdfFileSourceAdapter( folder.getRoot().getAbsolutePath() + "/*.pdf"); assertEquals(3, victim.getPdfFileSources().size()); assertEquals("7.pdf", victim.getPdfFileSources().get(0).getName()); assertEquals("14.pdf", victim.getPdfFileSources().get(1).getName()); assertEquals("44.pdf", victim.getPdfFileSources().get(2).getName()); }
public List<PdfFileSource> getPdfFileSources() { return sources; }
WildcardsPdfFileSourceAdapter { public List<PdfFileSource> getPdfFileSources() { return sources; } }
WildcardsPdfFileSourceAdapter { public List<PdfFileSource> getPdfFileSources() { return sources; } WildcardsPdfFileSourceAdapter(String path); }
WildcardsPdfFileSourceAdapter { public List<PdfFileSource> getPdfFileSources() { return sources; } WildcardsPdfFileSourceAdapter(String path); List<PdfFileSource> getPdfFileSources(); }
WildcardsPdfFileSourceAdapter { public List<PdfFileSource> getPdfFileSources() { return sources; } WildcardsPdfFileSourceAdapter(String path); List<PdfFileSource> getPdfFileSources();  }