Package org.assertj.core.error
Class GroupTypeDescription
java.lang.Object
org.assertj.core.error.GroupTypeDescription
Generates a description for the type of a group of elements. The description is used in the error message.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic GroupTypeDescriptiongetGroupTypeDescription(Class<?> clazz) Creates a newfor a group of elements.GroupTypeDescriptionstatic GroupTypeDescriptiongetGroupTypeDescription(Object actual) Creates a newfor a group of elements.GroupTypeDescription
-
Constructor Details
-
GroupTypeDescription
-
-
Method Details
-
getElementTypeName
-
getGroupTypeName
-
getGroupTypeDescription
Creates a newfor a group of elements.GroupTypeDescription- Parameters:
actual- the group of elements.- Returns:
- the created GroupTypeDescription object
-
getGroupTypeDescription
Creates a newfor a group of elements.GroupTypeDescription- Parameters:
clazz- the class for the group of elements.- Returns:
- the created GroupTypeDescription object
-