@Test
    void testNoCorsWithPartialBinding() {
        final WebClient client = client();
        AggregatedHttpResponse res;

        // A simple OPTIONS request, which should fall back.
        res = client.options("/cors12/get").aggregate().join();
        assertThat(res.status()).isEqualTo(HttpStatus.METHOD_NOT_ALLOWED);

        // A CORS preflight request, which should fall back as well.
        res = preflightRequest(client, "/cors12/get", "http://example.com", "GET");
        assertThat(res.status()).isEqualTo(HttpStatus.FORBIDDEN);
        // .. but will not contain CORS headers.
        assertThat(res.headers().get(HttpHeaderNames.ACCESS_CONTROL_ALLOW_METHODS)).isNull();
    }
If no CORS was configured and there's no binding for OPTIONS method, the server's fallback service will
be matched and the service with partial binding must not be invoked.
core/src/test/java/com/linecorp/armeria/server/cors/HttpServerCorsTest.java