### Question:
BasePdfVersionEvent { public boolean hasPdfVersion() { return pdfVersion != null; } BasePdfVersionEvent(PdfVersion pdfVersion); PdfVersion getPdfVersion(); boolean hasPdfVersion();  }### Answer:
@Test public void nullArg() { BasePdfVersionEvent victim = new BasePdfVersionEvent(null); assertFalse(victim.hasPdfVersion()); }