@Test(expected = FileNotFoundException.class)
public void testLocalProtocol() throws IOException {

    URL url = new URL("test1://foo/bar.txt");
    URLApplicationResource resource = new URLApplicationResource("org/apache/tiles/request/test/locale/resource.txt", url);
    resource.getInputStream();
}