private void createTestPaginatedCluster() throws IOException {
testStorage = mock(OLocalPaginatedStorage.class);
OStorageConfiguration storageConfiguration = mock(OStorageConfiguration.class);
storageConfiguration.clusters = new ArrayList<OStorageClusterConfiguration>();
storageConfiguration.fileTemplate = new OStorageSegmentConfiguration();
storageConfiguration.binaryFormatVersion = Integer.MAX_VALUE;
testStorageDir = buildDirectory + "/localPaginatedClusterWithWALTestTwo";
when(testStorage.getStoragePath()).thenReturn(testStorageDir);
when(testStorage.getComponentsFactory()).thenReturn(new OCurrentStorageComponentsFactory(storageConfiguration));