Class ShouldNotBeEmpty

  • All Implemented Interfaces:
    ErrorMessageFactory

    public class ShouldNotBeEmpty
    extends BasicErrorMessageFactory
    Creates an error message indicating that an assertion that verifies a group of elements is not empty failed. A group of elements can be a collection, an array or a String.
    Author:
    Alex Ruiz
    • Method Detail

      • shouldNotBeEmpty

        public static ErrorMessageFactory shouldNotBeEmpty()
        Returns the singleton instance of this class.
        Returns:
        the singleton instance of this class.