Class FieldsOrPropertiesExtractor

java.lang.Object
org.assertj.core.groups.FieldsOrPropertiesExtractor

public class FieldsOrPropertiesExtractor extends Object
Understands how to retrieve fields or values from a collection/array of objects.

You just have to give the field/property name or an Extractor implementation, a collection/array of objects and it will extract the list of field/values from the given objects.