#BAEL-5880: replace assertFalse instead of assertEquals
This commit is contained in:
parent
97895148e3
commit
17b215a483
|
@ -17,7 +17,7 @@ public class PdfInfoITextUnitTest {
|
|||
|
||||
@Test
|
||||
public void givenPdf_whenIsPasswordRequired_thenOK() throws IOException {
|
||||
Assert.assertEquals(false, PdfInfoIText.isPasswordRequired(PDF_FILE));
|
||||
Assert.assertFalse(PdfInfoIText.isPasswordRequired(PDF_FILE));
|
||||
}
|
||||
|
||||
@Test
|
||||
|
|
|
@ -17,7 +17,7 @@ public class PdfInfoPdfBoxUnitTest {
|
|||
|
||||
@Test
|
||||
public void givenPdf_whenIsPasswordRequired_thenOK() throws IOException {
|
||||
Assert.assertEquals(false, PdfInfoPdfBox.isPasswordRequired(PDF_FILE));
|
||||
Assert.assertFalse(PdfInfoPdfBox.isPasswordRequired(PDF_FILE));
|
||||
}
|
||||
|
||||
@Test
|
||||
|
|
Loading…
Reference in New Issue