public boolean matches(final PathMatcher pathMatcher,
                           final String targetPath,
                           final String pathMethod) {
        return pathMatcher.match(path, targetPath) &&
                httpMethod.matches(pathMethod);
    }
@Test
    void uri와_method가_같은지_확인한다() {
        // given
        String path = "/path";
        HttpMethod method = HttpMethod.GET;

        PathRequest pathRequest = new PathRequest(path, method);

        // when
        boolean result = pathRequest.matches(new AntPathMatcher(), path, method.name());

        // then
        assertThat(result).isTrue();
    }