@Test public void testValidFile() { File file = mock(File.class); when(file.getName()).thenReturn("name"); when(file.isFile()).thenReturn(Boolean.TRUE); PdfFileSource.newInstanceNoPassword(file); }
public static PdfFileSource newInstanceNoPassword(File file) { return PdfFileSource.newInstanceWithPassword(file, null); }
PdfFileSource extends AbstractPdfSource<File> { public static PdfFileSource newInstanceNoPassword(File file) { return PdfFileSource.newInstanceWithPassword(file, null); } }
PdfFileSource extends AbstractPdfSource<File> { public static PdfFileSource newInstanceNoPassword(File file) { return PdfFileSource.newInstanceWithPassword(file, null); } private  PdfFileSource(File file, String password); }
PdfFileSource extends AbstractPdfSource<File> { public static PdfFileSource newInstanceNoPassword(File file) { return PdfFileSource.newInstanceWithPassword(file, null); } private  PdfFileSource(File file, String password); @Override File getSource(); @Override T open(PdfSourceOpener<T> opener); static PdfFileSource newInstanceNoPassword(File file); static PdfFileSource newInstanceWithPassword(File file, String password); @Override String toString(); }
PdfFileSource extends AbstractPdfSource<File> { public static PdfFileSource newInstanceNoPassword(File file) { return PdfFileSource.newInstanceWithPassword(file, null); } private  PdfFileSource(File file, String password); @Override File getSource(); @Override T open(PdfSourceOpener<T> opener); static PdfFileSource newInstanceNoPassword(File file); static PdfFileSource newInstanceWithPassword(File file, String password); @Override String toString();  }