Package org.assertj.core.error
Class ShouldNotHaveAnyElementsOfTypes
java.lang.Object
org.assertj.core.error.BasicErrorMessageFactory
org.assertj.core.error.ShouldNotHaveAnyElementsOfTypes
- All Implemented Interfaces:
ErrorMessageFactory
-
Field Summary
Fields inherited from class org.assertj.core.error.BasicErrorMessageFactory
arguments, format
-
Method Summary
Modifier and TypeMethodDescriptionshouldNotHaveAnyElementsOfTypes
(Object actual, Class<?>[] unexpectedTypes, Map<Class<?>, List<Object>> nonMatchingElementsByType) Creates a new
.ShouldNotHaveAnyElementsOfTypes
Methods inherited from class org.assertj.core.error.BasicErrorMessageFactory
create, create, create, equals, hashCode, toString, unquotedString
-
Method Details
-
shouldNotHaveAnyElementsOfTypes
public static ShouldNotHaveAnyElementsOfTypes shouldNotHaveAnyElementsOfTypes(Object actual, Class<?>[] unexpectedTypes, Map<Class<?>, List<Object>> nonMatchingElementsByType) Creates a new
.ShouldNotHaveAnyElementsOfTypes
- Parameters:
actual
- array or IterableunexpectedTypes
- the not expected types of all elementsnonMatchingElementsByType
- the elements with unexpected types.- Returns:
- the created
ErrorMessageFactory
.
-