Package net.thucydides.core.matchers
Class BeanMatcherAsserts
- java.lang.Object
-
- net.thucydides.core.matchers.BeanMatcherAsserts
-
public class BeanMatcherAsserts extends Object
-
-
Constructor Summary
Constructors Constructor Description BeanMatcherAsserts()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static <T> List<T>
filterElements(List<T> elements, BeanMatcher... matchers)
static <T> boolean
matches(List<T> elements, BeanMatcher... matchers)
static <T> boolean
matches(T bean, BeanMatcher... matchers)
static <T> void
shouldMatch(List<T> items, BeanMatcher... matchers)
static <T> void
shouldMatch(T bean, BeanMatcher... matchers)
static <T> void
shouldNotMatch(List<T> items, BeanMatcher... matchers)
-
-
-
Method Detail
-
matches
public static <T> boolean matches(List<T> elements, BeanMatcher... matchers)
-
filterElements
public static <T> List<T> filterElements(List<T> elements, BeanMatcher... matchers)
-
shouldMatch
public static <T> void shouldMatch(List<T> items, BeanMatcher... matchers)
-
shouldMatch
public static <T> void shouldMatch(T bean, BeanMatcher... matchers)
-
shouldNotMatch
public static <T> void shouldNotMatch(List<T> items, BeanMatcher... matchers)
-
matches
public static <T> boolean matches(T bean, BeanMatcher... matchers)
-
-