void assertFileContents(final Config config, final int count) {
        TestUtil.waitForIt(
                () -> getForwardFileMetaCount(config),
                (long) count,
                () -> "Forwarded file pairs count",
                Duration.ofMinutes(2),
                Duration.ofSeconds(1),
                Duration.ofSeconds(5));

        final List<ForwardFileItem> forwardFileItems = getForwardFiles(config);

        // Check number of forwarded files.
        Assertions.assertThat(forwardFileItems)
                .hasSize(count);

        // Check feed names.
        final String[] feedNames = new String[count];
        for (int i = 0; i < count; i++) {
            feedNames[i++] = TestConstants.FEED_TEST_EVENTS_1;
            feedNames[i] = TestConstants.FEED_TEST_EVENTS_2;
        }

        Assertions.assertThat(forwardFileItems)
                .extracting(forwardFileItem -> forwardFileItem.getMetaAttributeMap().get(StandardHeaderArguments.FEED))
                .containsExactlyInAnyOrder(feedNames);

        // Check zip content file count.
        final Integer[] sizes = new Integer[count];
        Arrays.fill(sizes, 6);
        sizes[sizes.length - 1] = 2;
        sizes[sizes.length - 2] = 2;

        Assertions.assertThat(forwardFileItems.stream()
                        .map(forwardFileItem -> forwardFileItem.zipItems().size())
                        .toList())
                .containsExactlyInAnyOrder(sizes);

        // Check zip contents.
        final List<String> expectedFiles = List.of(
                "0000000001.meta",
                "0000000001.dat",
                "0000000002.meta",
                "0000000002.dat",
                "0000000003.meta",
                "0000000003.dat",
                "0000000004.meta",
                "0000000004.dat");
        assertForwardFileItemContent(forwardFileItems, expectedFiles);
    }
Assert all the {@link UniqueId}s contained in the stored aggregates
stroom-proxy/stroom-proxy-app/src/test/java/stroom/proxy/app/MockFileDestination.java