void assertPosts(final int count) {
        final List<LoggedRequest> postsToStroomDataFeed = getPostsToStroomDataFeed();

        // 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;
        }

        // Check feed names.
        Assertions.assertThat(postsToStroomDataFeed)
                .extracting(req -> req.getHeader(StandardHeaderArguments.FEED))
                .containsExactlyInAnyOrder(feedNames);

        // Check zip content file count.
        Assertions.assertThat(dataFeedRequests).hasSize(count);

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

        // Can't be sure of the order they are sent,
        Assertions.assertThat(dataFeedRequests.stream()
                        .map(dataFeedRequest -> dataFeedRequest.getDataFeedRequestItems().size())
                        .toList())
                .containsExactlyInAnyOrder(sizes);

        assertDataFeedRequestContent(dataFeedRequests);
    }
Assert that a http header is present and has this value
stroom-proxy/stroom-proxy-app/src/test/java/stroom/proxy/app/MockHttpDestination.java