HashSet mappings = new HashSet();
Map dsParams = new HashMap();
URL url = AppSchemaDataAccessRegistryTest.class.getResource(schemaBase);
assertNotNull(url);
final SourceDataStore ds = new SourceDataStore();
ds.setId(SOURCE_ID);
try {
dsParams.put("directory", new File(url.toURI()).toURL().toString());
} catch (MalformedURLException e) {
throw new RuntimeException(e);
} catch (URISyntaxException e) {
throw new RuntimeException(e);
}
ds.setParams(dsParams);
config = new AppSchemaDataAccessDTO();
config.setSourceDataStores(new ArrayList() {
{
add(ds);
}