Class ShouldContain

  • All Implemented Interfaces:
    ErrorMessageFactory

    public class ShouldContain
    extends BasicErrorMessageFactory
    Creates an error message indicating that an assertion that verifies a group of elements contains a given set of values failed. A group of elements can be a collection, an array or a String.
    It also mention the ComparisonStrategy used.
    Author:
    Alex Ruiz, Joel Costigliola