String id = "sparql-test";
ServiceRegistry registry = new ServiceRegistry(new GRefineJsonUtilitiesImpl(),null);
GRefineServiceManager manager = new GRefineServiceManager(registry, dir);
ReconciliationService service = new RdfReconciliationService(id, id, new QueryEndpointImpl(new LarqSparqlQueryFactory(), new RemoteQueryExecutor(url, null)), 0);
manager.addService(service);
assertTrue(registry.hasService(id));
//verify service is saved
registry = new ServiceRegistry(new GRefineJsonUtilitiesImpl(),null);