}
public void testPersistentSmallSplitfileWithLastBlockCompletionAfterResume() throws IOException, InsertException, StorageFormatException, ChecksumFailedException, ResumeFailedException {
Random r = new Random(12121);
long size = 65535; // Exact multiple, so no last block
LockableRandomAccessBuffer data = generateData(r, size, bigRAFFactory);
HashResult[] hashes = getHashes(data);
MyCallback cb = new MyCallback();
KeysFetchingLocally keys = new MyKeysFetchingLocally();
SplitFileInserterStorage storage = new SplitFileInserterStorage(data, size, cb, null,
new ClientMetadata(), false, null, smallRAFFactory, true, baseContext.clone(),