String json = SearchService.query("a000test", "Test OCR 2");
logger.debug(json);
}
private void testPdfGeneration() throws MalformedURLException, IOException {
FedoraURI fedoraURI = FedoraURI.getFedoraUri("a000test", "full_pdf");
URI uri = StaticURI.toStaticFileUri(fedoraURI);
InputStream in = uri.toURL().openStream();
Assert.assertTrue(in.available() > 0);
in.close();
}