Package org.assertj.core.error
Class ShouldNotHaveAnyElementsOfTypes
- java.lang.Object
-
- org.assertj.core.error.BasicErrorMessageFactory
-
- org.assertj.core.error.ShouldNotHaveAnyElementsOfTypes
-
- All Implemented Interfaces:
ErrorMessageFactory
public class ShouldNotHaveAnyElementsOfTypes extends BasicErrorMessageFactory
-
-
Field Summary
-
Fields inherited from class org.assertj.core.error.BasicErrorMessageFactory
arguments, format, formatter
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ShouldNotHaveAnyElementsOfTypes
shouldNotHaveAnyElementsOfTypes(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 Detail
-
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
.
-
-