@Test(expected = ExceptionConverter.class)
public void circularReferencesInResources() throws IOException {

    File testFile = TestResourceUtils.getResourceAsTempFile(this, "circularReferencesInResources.pdf");
    String filename = testFile.getAbsolutePath();
    PdfReader rdr = new PdfReader(filename);
    rdr.close();
    BaseFont.getDocumentFonts(rdr);
}