assertNotNull( service );
ICatalog catalog = CatalogPlugin.getDefault().getLocalCatalog();
catalog.add( service ); // we can now find this service!
List<IResolve> found = catalog.search("csv",null, null );
assertEquals( 2, found.size() );
//get all the resources from the service
List<? extends IGeoResource> resources = service.resources(null);
assertNotNull(resources);