@Override
    public File allocationBaseDirectory(long checkpointId) {
        return selectAllocationBaseDirectory(
                (((int) checkpointId) & Integer.MAX_VALUE) % allocationBaseDirs.length);
    }
@Test
    void allocationBaseDir() {
        for (int i = 0; i < 10; ++i) {
            assertThat(directoryProvider.allocationBaseDirectory(i))
                    .isEqualTo(allocBaseFolders[i % allocBaseFolders.length]);
        }
    }