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