public class CookieMatcher extends Object
Constructor and Description |
---|
CookieMatcher() |
Modifier and Type | Method and Description |
---|---|
Object |
getCookieName() |
static Cookies |
getCookies(List<String> headerWithCookieList) |
static String |
getExpectedDescription(org.hamcrest.Matcher<?> matcher) |
static List<String> |
getKeyAndValueOfCookie(String part) |
org.hamcrest.Matcher<String> |
getMatcher() |
static String |
getMismatchDescription(org.hamcrest.Matcher<?> matcher,
Object value) |
void |
setCookieName(Object cookieName) |
void |
setMatcher(org.hamcrest.Matcher<String> matcher) |
Map<String,Object> |
validateCookies(List<String> headerWithCookieList,
Cookies responseCookies) |
public Map<String,Object> validateCookies(List<String> headerWithCookieList, Cookies responseCookies)
public static String getExpectedDescription(org.hamcrest.Matcher<?> matcher)
public static String getMismatchDescription(org.hamcrest.Matcher<?> matcher, Object value)
public Object getCookieName()
public void setCookieName(Object cookieName)
public org.hamcrest.Matcher<String> getMatcher()
public void setMatcher(org.hamcrest.Matcher<String> matcher)
Copyright © 2010–2022. All rights reserved.