*/
// FIXME WebExternalResourceStream does not implement length()
public void testWebExternalResource() throws Exception
{
WebExternalResourceStream resource = new WebExternalResourceStream("/index.html");
ResourceStreamRequestHandler rt = new ResourceStreamRequestHandler(resource);
tester.processRequest(rt);
assertTrue(tester.getContentTypeFromResponseHeader().startsWith("text/html"));
tester.assertContains("<h1>Hello, World!</h1>");
}