rest-assured/src/main/java/io/restassured/matcher/DetailedCookieMatcher.java
public DetailedCookieMatcher path(Matcher<? super String> pathMatcher) {
        return new DetailedCookieMatcher(and(Matchers.hasProperty("path", pathMatcher)));
    }
public DetailedCookieMatcher path(Matcher<? super String> pathMatcher) {
        return new DetailedCookieMatcher(and(Matchers.hasProperty("path", pathMatcher)));
    }
Verifies whether path of cookie satisfies specified matcher.
@param pathMatcher assertion for path property
@return A {@link DetailedCookieMatcher} instance with and-composed path property assertion