@Test
 public void testSnapshotGenerator() throws Exception {
   Configuration config =
       Configuration.fromYaml(getClass().getResourceAsStream("/db-configuration.yml"));
   config.set(model.create());
   URL resource = Utils.resolveResourceURL(getClass(), "/thing.1.json");
   assertNotNull(resource);
   List<URL> toLoad = Arrays.asList(resource);
   WorkspaceSnapshot.load(model.create(), toLoad);
   File cloneFileName = new File("target/thing.1.clone.json");
   cloneFileName.delete();
   List<Export> exports = Arrays.asList(new Export(THING_URI, cloneFileName));
   WorkspaceSnapshotGenerator generator = new WorkspaceSnapshotGenerator(config, exports);
   generator.execute();
   assertTrue("Clone did not generate", cloneFileName.exists());
 }
 public static void loadKernel(DSLContext create) throws IOException, SQLException {
   WorkspaceSnapshot.load(create, KERNEL_LOADS);
 }