Commit 9db00f8 1 parent e35bb83 commit 9db00f8 Copy full SHA for 9db00f8
File tree 1 file changed +1
-8
lines changed
src/test/java/com/researchspace/export/pdf
1 file changed +1
-8
lines changed Original file line number Diff line number Diff line change 10
10
import com .lowagie .text .pdf .parser .PdfTextExtractor ;
11
11
import com .researchspace .model .User ;
12
12
import com .researchspace .model .record .StructuredDocument ;
13
- import com .researchspace .service .UserExternalIdResolver ;
14
13
import com .researchspace .testutils .TestRunnerController ;
15
14
import java .io .File ;
16
15
import java .io .IOException ;
27
26
28
27
@ ExtendWith (MockitoExtension .class )
29
28
public class PdfProcessorTest {
30
- @ Mock private UserExternalIdResolver externalIdResolver ;
31
-
32
- @ Mock private HTMLUnicodeFontProcesser htmlUnicodeFontProcesser ;
33
-
34
- @ Mock private HtmlImageResolver htmlImageResolver ;
35
-
36
29
@ Mock private PdfHtmlGenerator pdfHtmlGenerator ;
37
30
38
31
@ InjectMocks private PdfProcessor pdfProcessor ;
@@ -91,7 +84,7 @@ public void concatenatesFiles() throws Exception {
91
84
assertTrue (output .contains ("This is document 2." ));
92
85
}
93
86
94
- private String concatTwoDocuments () throws Exception {
87
+ private String concatTwoDocuments () throws Exception {
95
88
// create 2 pdf docs then concatenate and verify the output doc contains the 2 inputs
96
89
String doc1Html = loadTextResourceFromPdfDir ("doc1.html" );
97
90
ExportProcesserInput exportProcesserInput1 =
You can’t perform that action at this time.
0 commit comments