public List<Entry> entries()
    {
        return entriesCache;
    }
@Test
    void shouldCreateNewIndex()
    {
        try (RecordingLog recordingLog = new RecordingLog(tempDir, true))
        {
            assertEquals(0, recordingLog.entries().size());
        }
    }