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