File tmpFile = FileSupport.createTempFile();
try
{
ReadWritableFile f = new ReadWritableFileAdapter(tmpFile);
byte[] barr = writeJunk(f);
NodeRepository<K> nr = new FileBackedNodeRepository<K, V>(f, false, f.getSize(), new NumberOfRecordsNodeSizeStrategy(8), leafNodePointers, keySerializer, valueSerializer, pointerSize, 8192, null, new LogAdapterHolder(new StdOutLogAdapter()));
if (cacheSize > 0)
{
nr = new LruCacheNodeRepository<K, V>(nr, cacheSize);
}
testStealTwoNonLeafRecordsFromNodeToTheLeftInternal(nr, new NodePositions(getNonLeafNodeSize(keySerializer.getSerializedSize(), pointerSize, 8), getLeafNodeSize(keySerializer.getSerializedSize(), valueSerializer.getSerializedSize(), pointerSize, 8, leafNodePointers), nr.getPositionOfRootNode()), kconv, vconv);