long capacity()
    {
        return capacity;
    }
@Test
    void shouldIncreaseCapacity()
    {
        final long newCapacity = CAPACITY * 2;

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