public class CookieMatcher extends Object implements groovy.lang.GroovyObject
Constructor and Description |
---|
CookieMatcher() |
Modifier and Type | Method and Description |
---|---|
Object |
getCookieName() |
static Cookies |
getCookies(Object headerWithCookieList) |
static String |
getExpectedDescription(org.hamcrest.Matcher matcher) |
static List |
getKeyAndValueOfCookie(String part) |
org.hamcrest.Matcher |
getMatcher() |
groovy.lang.MetaClass |
getMetaClass() |
static String |
getMismatchDescription(org.hamcrest.Matcher matcher,
Object value) |
Object |
getProperty(String property) |
Object |
invokeMethod(String method,
Object arguments) |
void |
setCookieName(Object value) |
void |
setMatcher(org.hamcrest.Matcher value) |
void |
setMetaClass(groovy.lang.MetaClass mc) |
void |
setProperty(String property,
Object value) |
Object |
validateCookies(List headerWithCookieList,
Cookies responseCookies) |
public Object getCookieName()
public void setCookieName(Object value)
public org.hamcrest.Matcher getMatcher()
public void setMatcher(org.hamcrest.Matcher value)
public static String getExpectedDescription(org.hamcrest.Matcher matcher)
public static String getMismatchDescription(org.hamcrest.Matcher matcher, Object value)
public groovy.lang.MetaClass getMetaClass()
getMetaClass
in interface groovy.lang.GroovyObject
public void setMetaClass(groovy.lang.MetaClass mc)
setMetaClass
in interface groovy.lang.GroovyObject
public Object invokeMethod(String method, Object arguments)
invokeMethod
in interface groovy.lang.GroovyObject
public Object getProperty(String property)
getProperty
in interface groovy.lang.GroovyObject
Copyright © 2010–2019. All rights reserved.