long nextRecordingId()
    {
        return nextRecordingId;
    }
@Test
    void shouldComputeNextRecordingIdIfValueInHeaderIsZero() throws IOException
    {
        setNextRecordingId(0);

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