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