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