public void testInternalDocuments() throws IOException, ProcessingException, URISyntaxException {
   final AbstractSourceDocument srcDoc =
       this.controller.getSourceDocuments(new URI(XHTML_REQUEST_URI));
   final InternalDocument internalDoc =
       this.controller.getInternalDocument(new URI(XHTML_REQUEST_URI));
   final AbstractSourceDocument firstSrcDoc = srcDoc;
   assertNotNull("No internal document returned", internalDoc);
   assertFalse(firstSrcDoc.equals(internalDoc));
 }
 public void testReader() throws ProcessingException, MalformedURLException, URISyntaxException {
   final AbstractSourceDocument source =
       this.controller.getSourceDocuments(new URI(HELLO_WORLD_REQUEST_URI));
   assertTrue(
       "Should not have an aggregated document for Hello World request",
       !(source instanceof AggregatedSourceDocument));
   assertEquals(
       "Document type read by Hello world is incorrect",
       "org.apache.forrest.helloWorld",
       source.getType());
 }