public DocumentFixture() {
this(DEFAULT_URI, false, null);
}
private static NodeStore createNodeStore(String uri, BlobStore blobStore) {
MongoConnection connection;
try {
connection = new MongoConnection(uri);
DB mongoDB = connection.getDB();
DocumentMK.Builder builder = new DocumentMK.Builder();
if(blobStore != null){
builder.setBlobStore(blobStore);
}
builder.setMongoDB(mongoDB);