Class ShouldNotEndWithWhitespaces

  • All Implemented Interfaces:
    ErrorMessageFactory

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

      • ShouldNotEndWithWhitespaces

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

      • shouldNotEndWithWhitespaces

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