@Override
    protected Mono<Boolean> doMatcher(final ServerWebExchange exchange, final WebFilterChain chain) {
        return Mono.just(paths.stream().anyMatch(path -> exchange.getRequest().getURI().getRawPath().startsWith(path)));
    }
@Test
    public void testDoMatcher() {
        Mono<Boolean> health = healthFilter.doMatcher(MockServerWebExchange
                .from(MockServerHttpRequest.post("http://localhost:8080/actuator/health")), webFilterChain);
        StepVerifier.create(health).expectNext(Boolean.TRUE).verifyComplete();
    
        Mono<Boolean> healthCheck = healthFilter.doMatcher(MockServerWebExchange
                .from(MockServerHttpRequest.post("http://localhost:8080/health_check")), webFilterChain);
        StepVerifier.create(healthCheck).expectNext(Boolean.TRUE).verifyComplete();
    
        Mono<Boolean> readiness = healthFilter.doMatcher(MockServerWebExchange
                .from(MockServerHttpRequest.post("http://localhost:8080/actuator/health/readiness")), webFilterChain);
        StepVerifier.create(readiness).expectNext(Boolean.TRUE).verifyComplete();
        
    }