assertNotNull("sample data found", target );
Map<String, Serializable> params = serviceExtension.createParams( target );
assertNotNull("canProcess", params );
IService service = serviceExtension.createService( null, params );
assertNotNull("connected", service );
assertTrue("Datastore available", service.canResolve( DataStore.class));
DataAccess dataStore = service.resolve( DataStore.class, null );
assertNotNull("DataStore connected", dataStore );
Name typeName = (Name) dataStore.getNames().get(0);;
FeatureSource featureSource = dataStore.getFeatureSource( typeName );
assertEquals( 4, featureSource.getCount( Query.ALL ) );
//IServiceInfo info = service.getInfo(new NullProgressMonitor());
IServiceInfo info = getInfo(service, new NullProgressMonitor());
assertNotNull("Title available", info.getTitle());
assertNotNull("Description available", info.getDescription());
List<? extends IGeoResource> m = service.resources(new NullProgressMonitor());
for(IGeoResource resource: m) {
ID id = resource.getID();
assertNotNull(id);
//IGeoResourceInfo grinfo = resource.getInfo(new NullProgressMonitor());
IGeoResourceInfo grinfo = getInfo(resource, new NullProgressMonitor());