long nextRecordingId()
    {
        return nextRecordingId;
    }
@Test
    void shouldReadNextRecordingIdFromCatalogHeader() throws IOException
    {
        final long nextRecordingId = 10101010;
        setNextRecordingId(nextRecordingId);

        try (Catalog catalog = new Catalog(archiveDir, null, 0, CAPACITY, clock, null, segmentFileBuffer))
        {
            assertEquals(nextRecordingId, catalog.nextRecordingId());
        }
    }