Package org.assertj.core.error
Class ConditionAndGroupGenericParameterTypeShouldBeTheSame
- java.lang.Object
-
- org.assertj.core.error.BasicErrorMessageFactory
-
- org.assertj.core.error.ConditionAndGroupGenericParameterTypeShouldBeTheSame
-
- All Implemented Interfaces:
ErrorMessageFactory
public class ConditionAndGroupGenericParameterTypeShouldBeTheSame extends BasicErrorMessageFactory
Creates an error message indicating that an assertion that verifies type of elements of group andCondition
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, formatter
-
-
Constructor Summary
Constructors Constructor Description ConditionAndGroupGenericParameterTypeShouldBeTheSame(Object actual, Condition<?> condition)
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static 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
-
-
-
-
Method Detail
-
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
.
-
-