store.merge(b1, EmptyHook.INSTANCE, CommitInfo.EMPTY);
//1. Set some single value Binary property
for(int i = 0; i < 2; i++){
b1 = store.getRoot().builder();
Blob b = store.createBlob(randomStream(i, 4096));
b1.child("x").child("y").setProperty("b" + i, b);
blobs.add(b);
store.merge(b1, EmptyHook.INSTANCE, CommitInfo.EMPTY);
}
//2. Set some multi value property
PropertyBuilder<Blob> p1 = PropertyBuilder.array(Type.BINARY)
.setName("barr");
for(int i = 0; i < 2; i++){
Blob b = store.createBlob(randomStream(i, 4096));
p1.addValue(b);
blobs.add(b);
}
b1 = store.getRoot().builder();
b1.child("x").child("y").setProperty(p1.getPropertyState());
store.merge(b1, EmptyHook.INSTANCE, CommitInfo.EMPTY);
//3. Create some new rev for the property b1 and b2
for(int i = 0; i < 2; i++){
b1 = store.getRoot().builder();
//Change the see to create diff binary
Blob b = store.createBlob(randomStream(i+1, 4096));
b1.child("x").child("y").setProperty("b" + i, b);
blobs.add(b);
store.merge(b1, EmptyHook.INSTANCE, CommitInfo.EMPTY);
}