| Package | Description |
|---|---|
| org.assertj.core.api | |
| org.assertj.core.api.filter |
| Modifier and Type | Method and Description |
|---|---|
static <E> Filters<E> |
Assertions.filter(E[] array)
Only delegate to
filter(Object[]) so that Assertions offers a full feature entry point to all
AssertJ features (but you can use Filters if you prefer). |
static <E> Filters<E> |
Assertions.filter(Iterable<E> iterableToFilter)
Only delegate to
filter(Object[]) so that Assertions offers a full feature entry point to all
AssertJ features (but you can use Filters if you prefer). |
| Modifier and Type | Method and Description |
|---|---|
Filters<E> |
Filters.and(String propertyName)
Alias of
with(String) for synthetic sugar to write things like :. |
Filters<E> |
Filters.being(Condition<? super E> condition)
Filter the underlying group, keeping only elements satisfying the given
Condition.Same as having(Condition) - pick the method you prefer to have the most readable code. |
Filters<E> |
Filters.equalsTo(Object propertyValue)
Filters the underlying iterable to keep object with property (specified by
with(String)) equals to given
value. |
static <E> Filters<E> |
Filters.filter(E[] array)
Creates a new
with the array to filter. |
static <E> Filters<E> |
Filters.filter(Iterable<E> iterable)
|
Filters<E> |
Filters.having(Condition<? super E> condition)
Filter the underlying group, keeping only elements satisfying the given
Condition.Same as being(Condition) - pick the method you prefer to have the most readable code. |
Filters<E> |
Filters.in(Object... propertyValues)
Filters the underlying iterable to keep object with property (specified by
with(String)) equals to one of the
given values. |
Filters<E> |
Filters.notEqualsTo(Object propertyValue)
Filters the underlying iterable to keep object with property (specified by
with(String)) not equals to given
value. |
Filters<E> |
Filters.notIn(Object... propertyValues)
Filters the underlying iterable to keep object with property (specified by
with(String)) not in the given
values. |
Filters<E> |
Filters.with(String propertyName)
Sets the name of the property used for filtering, it may be a nested property like
"adress.street.name". |
Filters<E> |
Filters.with(String propertyName,
Object propertyValue)
Filter the underlying group, keeping only elements with a property equals to given value.
|
Copyright © 2013-2014 AssertJ. All Rights Reserved.