Class ShouldBeSubsetOf

  • All Implemented Interfaces:
    ErrorMessageFactory

    public class ShouldBeSubsetOf
    extends BasicErrorMessageFactory
    Creates an error message indicating that an assertion that verifies that an Iterable is a subset of an other set Iterable failed.
    Author:
    Maciej Jaskowski
    • Method Detail

      • shouldBeSubsetOf

        public static ErrorMessageFactory shouldBeSubsetOf​(java.lang.Object actual,
                                                           java.lang.Object values,
                                                           java.lang.Iterable<?> unexpected)
        Creates a new ShouldBeSubsetOf.
        Parameters:
        actual - the actual set
        values - the expected superset
        Returns:
        the created ErrorMessageFactory.