public void testResourceHandler() throws Exception
{
ResourceHandler handler = new MockSimpleResourceHandler(_documentRoot);
assertTrue(handler.libraryExists("testlib"));
assertFalse(handler.libraryExists("notexistinglib"));
assertEquals("javax.faces.resource.Script", handler
.getRendererTypeForResourceName("testfile.js"));
}