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
-
-
Constructor Summary
Constructors Modifier Constructor Description private
ShouldNotHaveAnyElementsOfTypes(java.lang.Object actual, java.lang.Class<?>[] unexpectedTypes, java.util.Map<java.lang.Class<?>,java.util.List<java.lang.Object>> nonMatchingElementsByType)
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ShouldNotHaveAnyElementsOfTypes
shouldNotHaveAnyElementsOfTypes(java.lang.Object actual, java.lang.Class<?>[] unexpectedTypes, java.util.Map<java.lang.Class<?>,java.util.List<java.lang.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(java.lang.Object actual, java.lang.Class<?>[] unexpectedTypes, java.util.Map<java.lang.Class<?>,java.util.List<java.lang.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
.
-
-