@Test
public void testAddBlankPageIfOdd() throws IOException {

    try (PDDocumentHandler handler = new PDDocumentHandler()) {
        assertNull(handler.addBlankPageIfOdd(new PDRectangle(10, 10)));
        handler.addBlankPage(new PDRectangle(10, 10));
        assertNotNull(handler.addBlankPageIfOdd(new PDRectangle(10, 10)));
    }
}