Class ShouldNotHaveAnyElementsOfTypes

java.lang.Object
org.assertj.core.error.BasicErrorMessageFactory
org.assertj.core.error.ShouldNotHaveAnyElementsOfTypes
All Implemented Interfaces:
ErrorMessageFactory

public class ShouldNotHaveAnyElementsOfTypes extends BasicErrorMessageFactory
  • Method Details

    • shouldNotHaveAnyElementsOfTypes

      public static ShouldNotHaveAnyElementsOfTypes shouldNotHaveAnyElementsOfTypes(Object actual, Class<?>[] unexpectedTypes, Map<Class<?>,List<Object>> nonMatchingElementsByType)
      Parameters:
      actual - array or Iterable
      unexpectedTypes - the not expected types of all elements
      nonMatchingElementsByType - the elements with unexpected types.
      Returns:
      the created ErrorMessageFactory.