public class ShouldNotHaveAnyElementsOfTypes extends BasicErrorMessageFactory
arguments, format
Modifier and Type | Method and Description |
---|---|
static ShouldNotHaveAnyElementsOfTypes |
shouldNotHaveAnyElementsOfTypes(Object actual,
Class<?>[] unexpectedTypes,
Map<Class<?>,List<Object>> nonMatchingElementsByType)
Creates a new
. |
create, create, create, equals, hashCode, toString, unquotedString
public static ShouldNotHaveAnyElementsOfTypes shouldNotHaveAnyElementsOfTypes(Object actual, Class<?>[] unexpectedTypes, Map<Class<?>,List<Object>> nonMatchingElementsByType)
ShouldNotHaveAnyElementsOfTypes
.actual
- array or IterableunexpectedTypes
- the not expected types of all elementsnonMatchingElementsByType
- the elements with unexpected types.ErrorMessageFactory
.Copyright © 2014–2019 AssertJ. All rights reserved.