public class TestXmlResourceProcessor extends FrameworkTestCase
{
public void testMissingURLResource() throws Exception
{
XmlResourceProcessor processor = new XmlResourceProcessor(getClassResolver(),
new DefaultErrorHandler());
Resource[] missingResources = new Resource[]
{ new FileResource("foo"), new URLResource(new URL("file://MissingFile")) };
Class[] exceptionTypes = new Class[]
{ NullPointerException.class, UnknownHostException.class };