Class ShouldNotContainAnyWhitespaces

  • All Implemented Interfaces:
    ErrorMessageFactory

    public class ShouldNotContainAnyWhitespaces
    extends BasicErrorMessageFactory
    Creates an error message indicating that an assertion that verifies that a CharSequence does not contain whitespace characters.
    • Constructor Detail

      • ShouldNotContainAnyWhitespaces

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

      • shouldNotContainAnyWhitespaces

        public static ErrorMessageFactory shouldNotContainAnyWhitespaces​(java.lang.CharSequence actual)
        Parameters:
        actual - the actual value in the failed assertion.
        Returns:
        the created ErrorMessageFactory.