### Question:
SPVBlockStore implements BlockStore { @Override public void close() throws BlockStoreException { try { buffer.force(); if (Utils.isWindows()) { log.info("Windows mmap hack: Forcing buffer cleaning"); WindowsMMapHack.forceRelease(buffer); } buffer = null; randomAccessFile.close(); } catch (IOException e) { throw new BlockStoreException(e); } } SPVBlockStore(NetworkParameters params, File file);  SPVBlockStore(NetworkParameters params, File file, int capacity); static final int getFileSize(int capacity); @Override void put(StoredBlock block); @Override @Nullable StoredBlock get(Sha256Hash hash); @Override StoredBlock getChainHead(); @Override void setChainHead(StoredBlock chainHead); @Override void close(); @Override NetworkParameters getParams(); static final int DEFAULT_CAPACITY; static final String HEADER_MAGIC; }### Answer:
@Test public void twoStores_butSequentially() throws Exception { SPVBlockStore store = new SPVBlockStore(UNITTEST, blockStoreFile); store.close(); store = new SPVBlockStore(UNITTEST, blockStoreFile); }