Package | Description |
---|---|
org.assertj.core.api | |
org.assertj.core.groups |
Modifier and Type | Method and Description |
---|---|
static Tuple |
Assertions.tuple(Object... values)
Utility method to build nicely a
Tuple when working with AbstractIterableAssert.extracting(String...) or
ObjectArrayAssert.extracting(String...) |
Modifier and Type | Method and Description |
---|---|
ListAssert<Tuple> |
AbstractIterableAssert.extracting(String... propertiesOrFields)
Extract the values of given fields/properties from the Iterable's elements under test into a new Iterable composed
of Tuple (a simple data structure), this new Iterable becoming the Iterable under test.
|
ObjectArrayAssert<Tuple> |
ObjectArrayAssert.extracting(String... fieldsOrProperties) |
Modifier and Type | Method and Description |
---|---|
static Tuple[] |
FieldsOrPropertiesExtractor.extract(Object[] objects,
String... fieldsOrPropertiesNames)
Call
#extract(Iterable, String) after converting objects to an iterable. |
static Tuple |
Tuple.tuple(Object... values) |
Modifier and Type | Method and Description |
---|---|
static List<Tuple> |
Tuple.buildTuples(int n) |
static List<Tuple> |
FieldsOrPropertiesExtractor.extract(Iterable<?> objects,
String... fieldsOrPropertiesNames)
Behavior is described in
AbstractIterableAssert.extracting(String...) |
Copyright © 2013 AssertJ. All Rights Reserved.