assertEquals( inv.getType(), "resource" );
assertEquals( inv.getPath(), "nothere" );
}
try {
cfg.addURL( new URL( "file://nothere" ) );
fail();
}
catch ( InvalidMappingException inv ) {
assertEquals( inv.getType(), "URL" );
assertEquals( inv.getPath(), "file://nothere" );