Class PDFCreatorTest
- java.lang.Object
-
- PDFCreatorTest
-
class PDFCreatorTest extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description private static java.lang.String
PATH_TO_PDF
private static java.util.List<Photo>
photoList
-
Constructor Summary
Constructors Constructor Description PDFCreatorTest()
-
Method Summary
Modifier and Type Method Description (package private) void
createPDF_ShouldWork_GeneratedFileNotNull()
(package private) static void
setup()
(package private) static void
tearDown()
Delete the generated PDF after all tests have been executed.
-
-
-
Field Detail
-
PATH_TO_PDF
private static final java.lang.String PATH_TO_PDF
- See Also:
- Constant Field Values
-
photoList
private static java.util.List<Photo> photoList
-
-
Method Detail
-
setup
@BeforeAll static void setup()
-
tearDown
@AfterAll static void tearDown()
Delete the generated PDF after all tests have been executed.
-
createPDF_ShouldWork_GeneratedFileNotNull
@Test void createPDF_ShouldWork_GeneratedFileNotNull() throws com.itextpdf.text.DocumentException, java.io.IOException
- Throws:
com.itextpdf.text.DocumentException
java.io.IOException
-
-