- DatastoreSnapshotRestore.removeInstance();
- DatastoreSnapshotRestore.createInstance("target/does-not-exist");
- assertNull("Expected null DatastoreSnapshot", DatastoreSnapshotRestore.instance().getAndRemove("config"));
- assertNull("Expected null DatastoreSnapshot", DatastoreSnapshotRestore.instance().getAndRemove("oper"));
+ instance = DatastoreSnapshotRestore.instance(restoreDirectoryPath);
+ assertNull("Expected null DatastoreSnapshot", instance.getAndRemove("config"));
+ assertNull("Expected null DatastoreSnapshot", instance.getAndRemove("oper"));