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
-
Method Summary
Modifier and TypeMethodDescriptionstatic GroupTypeDescription
getGroupTypeDescription
(Class<?> clazz) Creates a new
for a group of elements.GroupTypeDescription
static GroupTypeDescription
getGroupTypeDescription
(Object actual) Creates a new
for a group of elements.GroupTypeDescription
-
Constructor Details
-
GroupTypeDescription
-
-
Method Details
-
getElementTypeName
-
getGroupTypeName
-
getGroupTypeDescription
Creates a new
for a group of elements.GroupTypeDescription
- Parameters:
actual
- the group of elements.- Returns:
- the created GroupTypeDescription object
-
getGroupTypeDescription
Creates a new
for a group of elements.GroupTypeDescription
- Parameters:
clazz
- the class for the group of elements.- Returns:
- the created GroupTypeDescription object
-