Package org.assertj.core.error
Class ConditionAndGroupGenericParameterTypeShouldBeTheSame
java.lang.Object
org.assertj.core.error.BasicErrorMessageFactory
org.assertj.core.error.ConditionAndGroupGenericParameterTypeShouldBeTheSame
- All Implemented Interfaces:
ErrorMessageFactory
Creates an error message indicating that an assertion that verifies type of elements of group and
Condition
A group of
elements can be a collection, an array.- Author:
- Nicolas François, Mikhail Mazursky
-
Field Summary
Fields inherited from class org.assertj.core.error.BasicErrorMessageFactory
arguments, format
-
Constructor Summary
ConstructorDescriptionConditionAndGroupGenericParameterTypeShouldBeTheSame
(Object actual, Condition<?> condition) -
Method Summary
Modifier and TypeMethodDescriptionstatic ErrorMessageFactory
shouldBeSameGenericBetweenIterableAndCondition
(Object actual, Condition<?> condition) Creates a newConditionAndGroupGenericParameterTypeShouldBeTheSame
Methods inherited from class org.assertj.core.error.BasicErrorMessageFactory
create, create, create, equals, hashCode, toString, unquotedString
-
Constructor Details
-
ConditionAndGroupGenericParameterTypeShouldBeTheSame
-
-
Method Details
-
shouldBeSameGenericBetweenIterableAndCondition
public static ErrorMessageFactory shouldBeSameGenericBetweenIterableAndCondition(Object actual, Condition<?> condition) Creates a newConditionAndGroupGenericParameterTypeShouldBeTheSame
- Parameters:
actual
- the actual value in the failed assertion.condition
- theCondition
.- Returns:
- the created
ErrorMessageFactory
.
-