#BAEL-5880: replace assertFalse instead of assertEquals

This commit is contained in:
h_sharifi 2022-11-13 13:43:46 +03:30
parent 97895148e3
commit 17b215a483
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -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