Class ShouldBeUpperCase

  • All Implemented Interfaces:
    ErrorMessageFactory

    public class ShouldBeUpperCase
    extends BasicErrorMessageFactory
    Creates an error message that indicates an assertion that verifies that a character is uppercase failed.
    Author:
    Yvonne Wang
    • Method Detail

      • shouldBeUpperCase

        public static ErrorMessageFactory shouldBeUpperCase​(java.lang.Character actual)
        Creates a new ShouldBeUpperCase.
        Parameters:
        actual - the actual value in the failed assertion.
        Returns:
        the created ErrorMessageFactory.