@Override
    public void clear() {
        fileData.clear();
        openOutputStream.clear();
        openInputStream.clear();
        lastMeta = null;
        ((MockMetaService) metaService).clear();
    }
Class this API to clear down things.
stroom-data/stroom-data-store-mock/src/main/java/stroom/data/store/mock/MockStore.java