Class ShouldNotBeBlank

  • All Implemented Interfaces:
    ErrorMessageFactory

    public class ShouldNotBeBlank
    extends BasicErrorMessageFactory
    Creates an error message indicating that an assertion that verifies CharSequence is not Null, not empty or contains not only whitespace.
    • Constructor Detail

      • ShouldNotBeBlank

        private ShouldNotBeBlank​(java.lang.Object actual)
    • Method Detail

      • shouldNotBeBlank

        public static ErrorMessageFactory shouldNotBeBlank​(java.lang.CharSequence actual)
        Creates a new ShouldNotBeBlank.
        Parameters:
        actual - the actual value in the failed assertion.
        Returns:
        the created ErrorMessageFactory.