protected void testLarge(String path, boolean requiresContentLength) throws IOException {
        final AggregatedHttpResponse response = server().blockingWebClient().get(path);
        assertThat(response.status()).isSameAs(HttpStatus.OK);
        assertThat(String.valueOf(response.contentType())).startsWith("text/plain");
        if (requiresContentLength) {
            // Check if the content-length header matches.
            assertThat(response.headers().contentLength()).isEqualTo(response.content().length());
        }

        // Check if the content contains what's expected.
        assertThat(Arrays.stream(CR_OR_LF.split(response.contentUtf8()))
                         .map(String::trim)
                         .filter(s -> !s.isEmpty())
                         .count()).isEqualTo(1024);
    }
Returns the {@link ServerExtension} that provides the {@link Server} that serves the {@link Service}s
this test runs against.
testing-internal/src/main/java/com/linecorp/armeria/internal/testing/webapp/WebAppContainerTest.java