long nextRecordingId()
    {
        return nextRecordingId;
    }
@Test
    void shouldNotThrowArchiveExceptionWhenNextRecordingIdIsInvalidIfCatalogIsReadOnly()
        throws IOException
    {
        setNextRecordingId(recordingTwoId);

        try (Catalog catalog = new Catalog(archiveDir, clock))
        {
            assertEquals(recordingTwoId, catalog.nextRecordingId());
        }
    }