Interface ErrorMessageFactory

    • Method Detail

      • create

        java.lang.String create​(Description d,
                                Representation p)
        Creates a new error message as a result of a failed assertion.
        Parameters:
        d - the description of the failed assertion.
        p - the representation used
        Returns:
        the created error message.
      • create

        java.lang.String create​(Description d)
        Creates a new error message as a result of a failed assertion with StandardRepresentation.
        Parameters:
        d - the description of the failed assertion.
        Returns:
        the created error message.
      • create

        java.lang.String create()
        Creates a new error message as a result of a failed assertion without description.
        Returns:
        the created error message.