ObjectId id = ObjectId.forString("fake");
long size = 100000000;
int childTreeCount = 0;
Map<Integer, Bucket> bucketTrees = createBuckets(32);
final RevTreeImpl tree = RevTreeImpl.createNodeTree(id, size, childTreeCount, bucketTrees);
RevTree roundTripped = read(tree.getId(), write(tree));
assertTreesAreEqual(tree, roundTripped);
}