Class ShouldSatisfy

    • Field Detail

      • CONDITION_SHOULD_BE_SATISFIED

        public static final java.lang.String CONDITION_SHOULD_BE_SATISFIED
        See Also:
        Constant Field Values
      • CONSUMERS_SHOULD_BE_SATISFIED_IN_ANY_ORDER

        public static final java.lang.String CONSUMERS_SHOULD_BE_SATISFIED_IN_ANY_ORDER
        See Also:
        Constant Field Values
      • CONSUMERS_SHOULD_NOT_BE_NULL

        public static final java.lang.String CONSUMERS_SHOULD_NOT_BE_NULL
        See Also:
        Constant Field Values
    • Constructor Detail

      • ShouldSatisfy

        private ShouldSatisfy​(java.lang.Object actual,
                              Condition<?> condition)
      • ShouldSatisfy

        private ShouldSatisfy​(java.lang.Iterable<E> actual)
    • Method Detail

      • shouldSatisfyExactlyInAnyOrder

        public static <E> ErrorMessageFactory shouldSatisfyExactlyInAnyOrder​(java.lang.Iterable<E> actual)
        Creates a new ShouldSatisfy.
        Type Parameters:
        E - the iterable elements type.
        Parameters:
        actual - the actual iterable in the failed assertion.
        Returns:
        the created ErrorMessageFactory.